2002-06-23 15:56:09 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gts
|
|
|
|
# Date created: Jun 23, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gts
|
2002-11-20 12:33:34 +00:00
|
|
|
PORTVERSION= 0.7.0
|
2002-06-23 15:56:09 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2002-07-15 17:21:56 +00:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= glib12
|
2002-08-31 17:19:24 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
2002-11-20 12:33:34 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-02 14:07:26 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-08-31 17:19:24 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-06-23 15:56:09 +00:00
|
|
|
|
2003-02-02 14:07:26 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
LDFLAGS+= -lgnugetopt
|
|
|
|
.endif
|
|
|
|
|
2002-06-23 15:56:09 +00:00
|
|
|
post-install:
|
2002-08-31 17:19:24 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-06-23 15:56:09 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2002-08-31 17:19:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
|
2002-06-23 15:56:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|