| @@ -1,18 +1,19 @@ | | | @@ -1,18 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.198 2014/11/23 16:12:10 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.198.2.1 2015/01/14 08:33:27 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= netpbm-10.68.02 | | 3 | DISTNAME= netpbm-10.68.02 |
4 | CATEGORIES= graphics | | 4 | CATEGORIES= graphics |
5 | MASTER_SITES= # | | 5 | MASTER_SITES= # |
| | | 6 | PKGREVISION= 1 |
6 | # manually created from svn checkout of | | 7 | # manually created from svn checkout of |
7 | # svn checkout http://svn.code.sf.net/p/netpbm/code/advanced netpbm | | 8 | # svn checkout http://svn.code.sf.net/p/netpbm/code/advanced netpbm |
8 | # tar --exclude netpbm/.svn/\* -cvzf /archive/distfiles/netpbm-$VERSION.tar.gz netpbm | | 9 | # tar --exclude netpbm/.svn/\* -cvzf /archive/distfiles/netpbm-$VERSION.tar.gz netpbm |
9 | # where VERSION comes from reading netpbm/doc/HISTORY | | 10 | # where VERSION comes from reading netpbm/doc/HISTORY |
10 | # for the documentation: | | 11 | # for the documentation: |
11 | # svn checkout http://svn.code.sf.net/p/netpbm/code/userguide netpbm-userguide | | 12 | # svn checkout http://svn.code.sf.net/p/netpbm/code/userguide netpbm-userguide |
12 | # cd netpbm-userguide && for i in *.html; do python2.7 ../netpbm/buildtools/makeman $i; done && cd .. | | 13 | # cd netpbm-userguide && for i in *.html; do python2.7 ../netpbm/buildtools/makeman $i; done && cd .. |
13 | # tar -cvzf /archive/distfiles/netpbm-docs-r${SVN_REVISION}.tar.gz netpbm-userguide/*.[0-9] | | 14 | # tar -cvzf /archive/distfiles/netpbm-docs-r${SVN_REVISION}.tar.gz netpbm-userguide/*.[0-9] |
14 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} netpbm-docs-r2313${EXTRACT_SUFX} | | 15 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} netpbm-docs-r2313${EXTRACT_SUFX} |
15 | | | 16 | |
16 | MAINTAINER= adam@NetBSD.org | | 17 | MAINTAINER= adam@NetBSD.org |
17 | HOMEPAGE= http://netpbm.sourceforge.net/ | | 18 | HOMEPAGE= http://netpbm.sourceforge.net/ |
18 | COMMENT= Toolkit for conversion of images between different formats | | 19 | COMMENT= Toolkit for conversion of images between different formats |
| @@ -31,27 +32,27 @@ REPLACE_PERL+= editor/pnmquant | | | @@ -31,27 +32,27 @@ REPLACE_PERL+= editor/pnmquant |
31 | REPLACE_PERL+= editor/ppmfade | | 32 | REPLACE_PERL+= editor/ppmfade |
32 | REPLACE_PERL+= editor/ppmquant | | 33 | REPLACE_PERL+= editor/ppmquant |
33 | REPLACE_PERL+= editor/ppmshadow | | 34 | REPLACE_PERL+= editor/ppmshadow |
34 | REPLACE_PERL+= generator/ppmrainbow | | 35 | REPLACE_PERL+= generator/ppmrainbow |
35 | REPLACE_PERL+= manweb | | 36 | REPLACE_PERL+= manweb |
36 | STAGEDIR= ${WRKDIR}/staging | | 37 | STAGEDIR= ${WRKDIR}/staging |
37 | WRKSRC= ${WRKDIR}/netpbm | | 38 | WRKSRC= ${WRKDIR}/netpbm |
38 | | | 39 | |
39 | WRAPPER_REORDER_CMDS+= reorder:l:rle:netpbm | | 40 | WRAPPER_REORDER_CMDS+= reorder:l:rle:netpbm |
40 | | | 41 | |
41 | SUBST_CLASSES+= rgb_txt | | 42 | SUBST_CLASSES+= rgb_txt |
42 | SUBST_STAGE.rgb_txt= post-patch | | 43 | SUBST_STAGE.rgb_txt= post-patch |
43 | SUBST_MESSAGE.rgb_txt= Configure RGB_TXT | | 44 | SUBST_MESSAGE.rgb_txt= Configure RGB_TXT |
44 | SUBST_FILES.rgb_txt= pm_config.in.h | | 45 | SUBST_FILES.rgb_txt= config.mk |
45 | SUBST_SED.rgb_txt+= -e 's,/usr/share/netpbm/rgb.txt,${PREFIX}/share/netpbm/rgb.txt,' | | 46 | SUBST_SED.rgb_txt+= -e 's,/usr/share/netpbm/rgb.txt,${PREFIX}/share/netpbm/rgb.txt,' |
46 | | | 47 | |
47 | .include "../../mk/bsd.prefs.mk" | | 48 | .include "../../mk/bsd.prefs.mk" |
48 | | | 49 | |
49 | # only used if NEED_RUNTIME_PATH is set, so set it unconditionally | | 50 | # only used if NEED_RUNTIME_PATH is set, so set it unconditionally |
50 | MAKE_FLAGS+= NETPBMLIB_RUNTIME_PATH=${PREFIX} | | 51 | MAKE_FLAGS+= NETPBMLIB_RUNTIME_PATH=${PREFIX} |
51 | | | 52 | |
52 | .if ${OPSYS} == "NetBSD" | | 53 | .if ${OPSYS} == "NetBSD" |
53 | MAKE_FLAGS+= NEED_RUNTIME_PATH=Y | | 54 | MAKE_FLAGS+= NEED_RUNTIME_PATH=Y |
54 | .elif ${OPSYS} == "Darwin" | | 55 | .elif ${OPSYS} == "Darwin" |
55 | MAKE_FLAGS+= NETPBMLIBTYPE=dylib | | 56 | MAKE_FLAGS+= NETPBMLIBTYPE=dylib |
56 | MAKE_FLAGS+= NETPBMLIBSUFFIX=dylib | | 57 | MAKE_FLAGS+= NETPBMLIBSUFFIX=dylib |
57 | .elif ${OPSYS} == "SunOS" | | 58 | .elif ${OPSYS} == "SunOS" |