aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/fli2gif/Makefile
blob: e209351fa9b37371134260cb62d0333fb04b7356 (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
# 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://jeff.bovine.net/download/fli2gif/
DISTNAME=   ${PORTNAME}b

MAINTAINER= ak@FreeBSD.org
COMMENT=    Automatic Flic to animated GIF converter

NO_WRKSUBDIR=   yes

USE_ZIP=    yes
USE_DOS2UNIX=   fli2gif.cpp FLI2GIF.TXT

post-extract:
    @cd ${WRKSRC} && ${UNZIP_CMD} -q 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}/FLI2GIF.TXT ${DOCSDIR}
.endif

.include <bsd.port.mk>