1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/graphics/apngasm/Makefile
2014-03-10 14:49:26 +00:00

43 lines
864 B
Makefile

# Created by: Anonymous <swell.k@gmail.com>
# $FreeBSD$
PORTNAME= apngasm
PORTVERSION= 2.8
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Create Animated PNG from a sequence of files
LICENSE= ZLIB
OPTIONS_DEFINE= DOCS STATIC
NO_WRKSUBDIR= yes
USES= dos2unix gmake zip
LDFLAGS+= -lz
PORTDOCS= readme.txt
PLIST_FILES= bin/${PORTNAME}
STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
STATIC_MAKE_ENV= STATIC=1
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MSTATIC}
LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
.endif
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>