Lines 1-36
Link Here
|
1 |
PORTNAME= optipng |
1 |
PORTNAME= optipng |
2 |
PORTVERSION= 0.7.7 |
2 |
PORTVERSION= 0.7.7 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= graphics |
4 |
CATEGORIES= graphics |
4 |
MASTER_SITES= SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION} |
5 |
MASTER_SITES= SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION} |
5 |
|
6 |
|
6 |
MAINTAINER= tom@hur.st |
7 |
MAINTAINER= tom@hur.st |
7 |
COMMENT= Optimizer for PNG files |
8 |
COMMENT= Optimizer for PNG files |
8 |
WWW= http://optipng.sourceforge.net/ |
9 |
WWW= https://optipng.sourceforge.net/ |
9 |
|
10 |
|
10 |
LICENSE= ZLIB |
11 |
LICENSE= ZLIB |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
12 |
|
13 |
|
13 |
OPTIONS_DEFINE= BUNDLED_LIBPNG BUNDLED_ZLIB DOCS |
14 |
LIB_DEPENDS= libpng.so:graphics/png |
14 |
|
15 |
|
15 |
BUNDLED_LIBPNG_DESC= Use bundled libpng |
16 |
USES= cpe gmake localbase:ldflags |
16 |
BUNDLED_LIBPNG_CONFIGURE_OFF= --with-system-libpng |
17 |
CPE_VENDOR= optipng_project |
17 |
BUNDLED_LIBPNG_CONFIGURE_ON= --without-system-libpng |
|
|
18 |
BUNDLED_LIBPNG_LIB_DEPENDS_OFF= libpng.so:graphics/png |
19 |
BUNDLED_LIBPNG_USES_OFF= localbase:ldflags |
20 |
|
21 |
BUNDLED_ZLIB_DESC= Use bundled zlib |
22 |
BUNDLED_ZLIB_CONFIGURE_OFF= --with-system-zlib |
23 |
BUNDLED_ZLIB_CONFIGURE_ON= --without-system-zlib |
24 |
|
18 |
|
25 |
USES= cpe gmake |
|
|
26 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
|
|
20 |
CONFIGURE_ARGS= --with-system-libpng \ |
21 |
--with-system-zlib |
27 |
|
22 |
|
28 |
CPE_VENDOR= optipng_project |
23 |
PLIST_FILES= bin/optipng \ |
29 |
|
24 |
man/man1/optipng.1.gz |
30 |
PLIST_FILES= bin/optipng man/man1/optipng.1.gz |
|
|
31 |
PORTDOCS= history.txt optipng.man.html optipng.man.pdf optipng.man.txt \ |
25 |
PORTDOCS= history.txt optipng.man.html optipng.man.pdf optipng.man.txt \ |
32 |
png_optimization.html todo.txt |
26 |
png_optimization.html todo.txt |
33 |
|
27 |
|
|
|
28 |
OPTIONS_DEFINE= DOCS |
29 |
|
34 |
do-install: |
30 |
do-install: |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/ |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/ |
36 |
${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ |
32 |
${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ |