mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
4067a4a639
PR: 201934 Submitted by: jbeich
46 lines
1012 B
Makefile
46 lines
1012 B
Makefile
# Created by: Anonymous <swell.k@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= apngasm
|
|
PORTVERSION= 2.9
|
|
DISTVERSIONSUFFIX=-src
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= danilo@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
|
|
STATIC_LIB_DEPENDS_OFF= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
# libzopfli.a is N/A
|
|
STATIC_LIB_DEPENDS_OFF+=libzopfli.so:${PORTSDIR}/archivers/zopfli
|
|
STATIC_CPPFLAGS_OFF+= -I${LOCALBASE}/include/zopfli
|
|
STATIC_LDFLAGS_OFF+= -lzopfli
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|