aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fli2gif/Makefile
blob: 6f73798a6a6048dbe94414578a2b028b338e1c5e (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
# 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
COMMENT=    Automatic Flic to animated GIF convertor

NO_WRKSUBDIR=   yes

USE_ZIP=    yes

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} && ${CXX} ${CXXFLAGS} -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.mk>