blob: dcfff1a1f99a4ec32036fc6e40740bf0dbefe20e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= apngdis
PORTVERSION= 2.6
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@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:${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>
|