mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
48 lines
1018 B
Makefile
48 lines
1018 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: gts
|
|
# Date created: Jun 23, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gts
|
|
PORTVERSION= 0.7.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= erik@smluc.org
|
|
COMMENT= GNU Triangulated Surface Library
|
|
|
|
USE_GNOME= glib20 gnometarget pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
USE_LDCONFIG= 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.post.mk>
|