2002-06-23 17:56:09 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gts
|
|
|
|
# Date created: Jun 23, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gts
|
2006-05-03 23:30:37 +02:00
|
|
|
PORTVERSION= 0.7.6
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2002-06-23 17:56:09 +02:00
|
|
|
CATEGORIES= graphics
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2002-06-23 17:56:09 +02:00
|
|
|
|
2010-12-02 00:12:16 +01:00
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= GNU Triangulated Surface Library
|
2002-06-23 17:56:09 +02:00
|
|
|
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= glib20 pkgconfig
|
2003-05-18 04:13:15 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-06-23 17:56:09 +02:00
|
|
|
|
2005-11-30 14:06:59 +01:00
|
|
|
OPTIONS= NETPBM "Build with libnetpbm support" off
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-02-02 15:07:26 +01:00
|
|
|
|
2005-11-30 14:06:59 +01:00
|
|
|
.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
|
|
|
|
|
2003-05-18 04:13:15 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-10-20 06:37:28 +02:00
|
|
|
's|-release \$$(LT_RELEASE)||g ; s|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|'
|
2002-06-23 17:56:09 +02:00
|
|
|
|
2005-11-30 14:06:59 +01:00
|
|
|
.include <bsd.port.post.mk>
|