1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/graphics/apngdis/Makefile
2021-04-06 16:31:07 +02:00

36 lines
763 B
Makefile

# Created by: nemysis <nemysis@gmx.ch>
PORTNAME= apngdis
PORTVERSION= 2.9
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Deconstructs APNG files into individual frames
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:graphics/png
STATIC_MAKE_ENV= STATIC=1
STATIC_LIB_DEPENDS_OFF= libpng.so:graphics/png
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>