diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-30 21:06:59 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-30 21:06:59 +0800 |
commit | f328158c9098f3a84bfcaa8f291b9a6cdbb5b1a0 (patch) | |
tree | 60f4b16155ce3b15a87c0cdfed237e7533c4fd96 /graphics/gts | |
parent | eb5e8eb4590a26f0a4a228955b05ceb895e0680b (diff) | |
download | freebsd-ports-gnome-f328158c9098f3a84bfcaa8f291b9a6cdbb5b1a0.tar.gz freebsd-ports-gnome-f328158c9098f3a84bfcaa8f291b9a6cdbb5b1a0.tar.zst freebsd-ports-gnome-f328158c9098f3a84bfcaa8f291b9a6cdbb5b1a0.zip |
Update to 0.7.4 [1]
Add OPTIONS to use netpbm and fix when netpbm is installed manually
Add SHA256
PR: 88625 [1]
Submitted by: Erik Greenwald <erik@smluc.org> (maintainer)
Diffstat (limited to 'graphics/gts')
-rw-r--r-- | graphics/gts/Makefile | 24 | ||||
-rw-r--r-- | graphics/gts/distinfo | 5 | ||||
-rw-r--r-- | graphics/gts/pkg-plist | 4 |
3 files changed, 26 insertions, 7 deletions
diff --git a/graphics/gts/Makefile b/graphics/gts/Makefile index a6cd1002b1bd..fe13deba88e8 100644 --- a/graphics/gts/Makefile +++ b/graphics/gts/Makefile @@ -7,8 +7,7 @@ # PORTNAME= gts -PORTVERSION= 0.7.3 -PORTREVISION= 2 +PORTVERSION= 0.7.4 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,17 +16,34 @@ MAINTAINER= erik@smluc.org COMMENT= GNU Triangulated Surface Library USE_GNOME= glib20 gnometarget pkgconfig -USE_GETOPT_LONG= yes +USE_GETOPT_LONG=yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes +OPTIONS= NETPBM "Build with libnetpbm support" off + CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +.include <bsd.port.pre.mk> + +.if defined(WITH_NETPBM) +LIB_DEPENDS+= netpbm.1:${PORTSDIR}/graphics/netpbm +PLIST_SUB= NETPBM="" +.else +PLIST_SUB= NETPBM="@comment " +.endif + +post-extract: +.if !defined(WITH_NETPBM) + @${REINPLACE_CMD} -e 's|netpbm="true"|netpbm="false"|' \ + ${WRKSRC}/configure +.endif + post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-release \$$(LT_RELEASE)||g ; s|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/gts/distinfo b/graphics/gts/distinfo index 1bf12c679402..b022aa42dd8f 100644 --- a/graphics/gts/distinfo +++ b/graphics/gts/distinfo @@ -1,2 +1,3 @@ -MD5 (gts-0.7.3.tar.gz) = c02209e38229eb2abb1370dadd0020b4 -SIZE (gts-0.7.3.tar.gz) = 844990 +MD5 (gts-0.7.4.tar.gz) = 1662f3899ce6c72477e096bbef46361d +SHA256 (gts-0.7.4.tar.gz) = 5d6dde8bc4e7fc4ac0495a89153e5ceca3e56ff0c42806ca242882a1628b6cad +SIZE (gts-0.7.4.tar.gz) = 947253 diff --git a/graphics/gts/pkg-plist b/graphics/gts/pkg-plist index 2030adeb807b..53d523759651 100644 --- a/graphics/gts/pkg-plist +++ b/graphics/gts/pkg-plist @@ -1,3 +1,4 @@ +bin/delaunay bin/gts-config bin/gts2dxf bin/gts2oogl @@ -5,12 +6,13 @@ bin/gts2stl bin/gtscheck bin/gtscompare bin/gtstemplate +%%NETPBM%%bin/happrox bin/stl2gts bin/transform include/gts.h include/gtsconfig.h lib/libgts.a lib/libgts.so -lib/libgts.so.3 +lib/libgts.so.4 libdata/pkgconfig/gts.pc share/aclocal/gts.m4 |