diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-18 16:39:41 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-18 16:39:41 +0000 |
commit | 9473e619c0b414a6ed9d810f1d325ed52e02095f (patch) | |
tree | ee05202b83a6a1fc4772b095c381e96939711fba /graphics/gts | |
parent | 0791768a738b24847582406ba9e936475937bf6e (diff) | |
download | ports-9473e619c0b414a6ed9d810f1d325ed52e02095f.tar.gz ports-9473e619c0b414a6ed9d810f1d325ed52e02095f.zip |
Notes
Diffstat (limited to 'graphics/gts')
-rw-r--r-- | graphics/gts/Makefile | 17 | ||||
-rw-r--r-- | graphics/gts/files/patch-gts.pc.in | 10 |
2 files changed, 17 insertions, 10 deletions
diff --git a/graphics/gts/Makefile b/graphics/gts/Makefile index cbfb342bc13a..a813739fbf0e 100644 --- a/graphics/gts/Makefile +++ b/graphics/gts/Makefile @@ -3,34 +3,31 @@ PORTNAME= gts PORTVERSION= 0.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= erik@bz.bzflag.bz COMMENT= GNU Triangulated Surface Library +LICENSE= LGPL20 + USES= pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= NETPBM -NETPBM_DESC= Build with libnetpbm support +OPTIONS_SUB= yes + +NETPBM_DESC= Build with libnetpbm support +NETPBM_LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNETPBM} -LIB_DEPENDS+= netpbm.1:${PORTSDIR}/graphics/netpbm -PLIST_SUB= NETPBM="" -.else -PLIST_SUB= NETPBM="@comment " -.endif - post-extract: .if ! ${PORT_OPTIONS:MNETPBM} @${REINPLACE_CMD} -e 's|netpbm="true"|netpbm="false"|' \ diff --git a/graphics/gts/files/patch-gts.pc.in b/graphics/gts/files/patch-gts.pc.in new file mode 100644 index 000000000000..5139463482b0 --- /dev/null +++ b/graphics/gts/files/patch-gts.pc.in @@ -0,0 +1,10 @@ +--- ./gts.pc.in.orig 2005-01-19 04:48:19.000000000 +0000 ++++ ./gts.pc.in 2013-12-29 08:54:18.000000000 +0000 +@@ -6,6 +6,6 @@ + Name: GTS + Description: GNU Triangulated Surface Library + Version: @VERSION@ + Requires: glib-2.0,gthread-2.0,gmodule-2.0 +-Libs: -L${libdir} @LIBS@ -lgts ++Libs: -L${libdir} @LIBS@ -lgts -lm + Cflags: -I${includedir} |