aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-10-06 19:18:35 +0800
committertobik <tobik@FreeBSD.org>2017-10-06 19:18:35 +0800
commit9024ea4ea90673c263e47dd63c62c4ab53c8fea8 (patch)
treeac88a3b062a4f6d68cc3af9680e064e4b01f1e5f /palm
parent11858c7fe86976c0be66138a3c04caaab7bd44b3 (diff)
downloadfreebsd-ports-gnome-9024ea4ea90673c263e47dd63c62c4ab53c8fea8.tar.gz
freebsd-ports-gnome-9024ea4ea90673c263e47dd63c62c4ab53c8fea8.tar.zst
freebsd-ports-gnome-9024ea4ea90673c263e47dd63c62c4ab53c8fea8.zip
graphics/netpbm: Update to 10.80.00
- This moves netpbm to the advanced release series, which brings the port closer to what is available on OpenBSD, Fedora, Arch Linux, openSUSE, etc. and will let us get rid of patches for supporting newer libpng versions. - The advanced release series is only available via an SVN checkout. Add two maintenance targets netpbm-version-check and netpbm-fetch to make fetching them easier. To generate release tarballs the sources are then tagged and committed to https://github.com/t6/netpbm - Add STATIC option for linking all programs statically to allow running them in small chroots - Add option to disable adding a Perl run dependency. Only a fraction of all programs need it. Some are compatibility shims for newer programs which should be used instead. The following programs require Perl: pamfixtrunc pbmtox10bm pgmcrater pnmflip pnmquant pnmquantall ppmfade ppmquant ppmrainbow ppmshadow - Disable building svgtopam by default. It's the only program that requires libxml2 and is obsolete according to the author. - Install manpages by default - Allow running of the test suite via `make test` - Headers have been moved to ${LOCALBASE}/include/netpbm. Fix ports that expect them to be in ${LOCALBASE}/include Changes: https://raw.githubusercontent.com/t6/netpbm/v10.80.00/doc/HISTORY PR: 219982 Reviewed by: mat Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D11157
Diffstat (limited to 'palm')
-rw-r--r--palm/imgvtopgm/Makefile4
-rw-r--r--palm/ppmtoTbmp/Makefile5
2 files changed, 6 insertions, 3 deletions
diff --git a/palm/imgvtopgm/Makefile b/palm/imgvtopgm/Makefile
index b4f82235b97b..46a56e6f575e 100644
--- a/palm/imgvtopgm/Makefile
+++ b/palm/imgvtopgm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= imgvtopgm
PORTVERSION= 2.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= palm graphics
MASTER_SITES= http://linuxmafia.com/pub/palmos/other-os/
@@ -15,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
+USES= localbase
+
GNU_CONFIGURE= yes
.include <bsd.port.mk>
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index fc379f42fd96..fd4d4b6edd9e 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -14,8 +14,9 @@ LICENSE= NONE
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
-MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
-LDFLAGS+= -L${LOCALBASE}/lib
+USES= localbase:ldflags
+MAKE_ARGS= CFLAGS="${CFLAGS}" LDLIBS=-lnetpbm
+CFLAGS+= -I${LOCALBASE}/include/netpbm
PORTDOCS= README