summaryrefslogtreecommitdiff
path: root/graphics/fli2gif/Makefile
blob: 9f54b334eea6fc303af91c1a57548aa20666d1e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	fli2gif
# Date created:		7 Jan 1998
# Whom:			giffunip@asme.org
#
# $FreeBSD$
#

PORTNAME=	fli2gif
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.bovine.net/~jlawson/coding/fli2gif/
DISTNAME=	${PORTNAME}b

MAINTAINER=	ports@FreeBSD.org

NO_WRKSUBDIR=	yes

USE_ZIP=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500035
BROKEN=		"Does not compile on 5.0"
.endif

post-extract:
	@cd ${WRKSRC} && unzip -q -aa source.zip \
		&& ${LN} -sf GIF.CPP gif.cpp \
		&& ${LN} -sf FLIPLAY.CPP fliplay.cpp

do-build:
	@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} *.cpp

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA}	${WRKSRC}/*.TXT ${DOCSDIR}
.endif

.include <bsd.port.post.mk>