freebsd-ports/graphics/apngasm/Makefile
Danilo Egea Gondolfo 9175c2f222 - Update from 2.7 to 2.8
- Improve COMMENT
- Add stage support
- Convert LIB_DEPENDS to new syntax
- Use CC and CXX properly

PR:		ports/184864
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-18 17:51:04 +00:00

41 lines
858 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
USE_ZIP= yes
USES= dos2unix gmake
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>