Lines 9-16
Link Here
|
9 |
PORTVERSION= 0.91 |
9 |
PORTVERSION= 0.91 |
10 |
PORTEPOCH= 1 |
10 |
PORTEPOCH= 1 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= http://www.libpng.org/pub/png/src/ \ |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ |
13 |
ftp://swrinde.nde.swri.edu/pub/png/applications/ |
13 |
ftp://swrinde.nde.swri.edu/pub/png/applications/ |
|
|
14 |
MASTER_SITE_SUBDIR= png-mng |
14 |
|
15 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Converts TIFF images to PNG format |
17 |
COMMENT= Converts TIFF images to PNG format |
Lines 19-25
Link Here
|
19 |
png.5:${PORTSDIR}/graphics/png |
20 |
png.5:${PORTSDIR}/graphics/png |
20 |
|
21 |
|
21 |
MAKEFILE= Makefile.unx |
22 |
MAKEFILE= Makefile.unx |
|
|
23 |
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
ALL_TARGET= tiff2png |
24 |
ALL_TARGET= tiff2png |
|
|
25 |
|
26 |
PORTDOCS= README |
27 |
PLIST_FILES= bin/tiff2png |
28 |
|
29 |
CFLAGS+= -DINVERT_MINISWHITE -DFAXPECT -DDEFAULT_DESTDIR_IS_CURDIR \ |
30 |
-I${LOCALBASE}/include |
31 |
LDFLAGS= -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm |
23 |
|
32 |
|
24 |
do-install: |
33 |
do-install: |
25 |
${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin |