1 # Created by: nemysis <nemysis@gmx.ch>
8 MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Deconstructs APNG files into individual frames
15 OPTIONS_DEFINE= DOCS STATIC
19 USES= dos2unix gmake zip
23 PLIST_FILES= bin/${PORTNAME}
25 STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
26 STATIC_MAKE_ENV= STATIC=1
28 .include <bsd.port.options.mk>
30 .if ! ${PORT_OPTIONS:MSTATIC}
31 LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
35 (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
36 ${STAGEDIR}${PREFIX}/bin)
37 @${MKDIR} ${STAGEDIR}${DOCSDIR}
38 (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
39 ${STAGEDIR}${DOCSDIR})
41 .include <bsd.port.mk>