Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= apngasm |
8 |
PORTNAME= apngasm |
9 |
PORTVERSION= 2.3 |
9 |
PORTVERSION= 2.5 |
10 |
DISTVERSIONSUFFIX=-src |
10 |
DISTVERSIONSUFFIX=-src |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} |
Lines 14-33
Link Here
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Create Animated PNG from a sequence of files |
15 |
COMMENT= Create Animated PNG from a sequence of files |
16 |
|
16 |
|
17 |
USE_ZIP= yes |
|
|
18 |
USE_DOS2UNIX= yes |
19 |
NO_WRKSUBDIR= yes |
20 |
|
21 |
LICENSE= LGPL21 LGPL3 |
17 |
LICENSE= LGPL21 LGPL3 |
22 |
LICENSE_COMB= dual |
18 |
LICENSE_COMB= dual |
23 |
|
19 |
|
24 |
ALL_TARGET= ${PORTNAME} |
20 |
NO_WRKSUBDIR= yes |
25 |
MAKEFILE= /dev/null |
|
|
26 |
MAKE_ENV+= LDLIBS="${LDLIBS}" |
27 |
CFLAGS+= -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDLIBS+= -lpng -lm -lz |
30 |
|
21 |
|
|
|
22 |
USE_ZIP= yes |
23 |
USE_DOS2UNIX= yes |
24 |
|
25 |
CPPFLAGS+= `pkg-config --cflags libpng` |
26 |
LDFLAGS+= `pkg-config --libs libpng` |
27 |
|
28 |
PORTDOCS= readme.txt |
31 |
PLIST_FILES= bin/${PORTNAME} |
29 |
PLIST_FILES= bin/${PORTNAME} |
32 |
|
30 |
|
33 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
Lines 39-45
Link Here
|
39 |
LDFLAGS+= -static |
37 |
LDFLAGS+= -static |
40 |
.endif |
38 |
.endif |
41 |
|
39 |
|
|
|
40 |
do-build: |
41 |
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${PORTNAME}.c \ |
42 |
-o ${PORTNAME} ${LDFLAGS} |
43 |
|
42 |
do-install: |
44 |
do-install: |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
45 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
|
|
46 |
.if !defined(NOPORTDOCS) |
47 |
@${MKDIR} ${DOCSDIR} |
48 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} |
49 |
.endif |
44 |
|
50 |
|
45 |
.include <bsd.port.post.mk> |
51 |
.include <bsd.port.post.mk> |