Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= apngasm |
8 |
PORTNAME= apngasm |
9 |
PORTVERSION= 2.0 |
9 |
PORTVERSION= 2.1 |
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-32
MASTER_SITES= SF/${PORTNAME}/${PORTVERSI
Link Here
|
14 |
MAINTAINER= swell.k@gmail.com |
14 |
MAINTAINER= swell.k@gmail.com |
15 |
COMMENT= Create Animated PNG from a sequence of files |
15 |
COMMENT= Create Animated PNG from a sequence of files |
16 |
|
16 |
|
17 |
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png |
|
|
18 |
|
19 |
USE_ZIP= yes |
17 |
USE_ZIP= yes |
20 |
USE_DOS2UNIX= yes |
18 |
USE_DOS2UNIX= yes |
21 |
NO_WRKSUBDIR= yes |
19 |
NO_WRKSUBDIR= yes |
22 |
|
20 |
|
|
|
21 |
LICENSE= LGPL21 LGPL3 |
22 |
LICENSE_COMB= dual |
23 |
|
23 |
ALL_TARGET= ${PORTNAME} |
24 |
ALL_TARGET= ${PORTNAME} |
24 |
MAKEFILE= /dev/null |
25 |
MAKEFILE= /dev/null |
25 |
CFLAGS+= -I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib |
26 |
MAKE_ENV+= LDFLAGS="${LDFLAGS}" LDLIBS="${LDLIBS}" |
|
|
27 |
CFLAGS+= -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDLIBS+= -lpng -lm -lz |
26 |
|
30 |
|
27 |
PLIST_FILES= bin/${PORTNAME} |
31 |
PLIST_FILES= bin/${PORTNAME} |
28 |
|
32 |
|
|
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if !defined(NO_SHARED) |
36 |
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png |
37 |
.else |
38 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png |
39 |
LDFLAGS+= -static |
40 |
.endif |
41 |
|
29 |
do-install: |
42 |
do-install: |
30 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
31 |
|
44 |
|
32 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.post.mk> |