freebsd-ports/graphics/gts/Makefile

43 lines
851 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: gts
# Date created: Jun 23, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gts
2004-06-09 10:39:20 +02:00
PORTVERSION= 0.7.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:08:19 +01:00
COMMENT= GNU Triangulated Surface Library
2004-06-09 10:39:20 +02:00
USE_GNOME= glib12 gnometarget
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
2004-06-09 10:39:20 +02:00
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-release \$$(LT_RELEASE)||g'
.if !defined(NOPORTDOCS)
2004-06-09 10:39:20 +02:00
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>