2001-04-23 16:52:21 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: surf
|
|
|
|
# Date created: Apr 23, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= surf
|
2010-02-12 14:20:23 +00:00
|
|
|
PORTVERSION= 1.0.6
|
2010-04-19 10:43:42 +00:00
|
|
|
PORTREVISION= 1
|
2001-04-23 16:52:21 +00:00
|
|
|
CATEGORIES= math
|
2010-02-12 14:20:23 +00:00
|
|
|
MASTER_SITES= SF
|
2001-04-23 16:52:21 +00:00
|
|
|
|
2001-11-26 18:08:17 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Visualize some real algebraic geometry
|
2001-04-23 16:52:21 +00:00
|
|
|
|
2010-02-05 11:46:55 +00:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2001-11-26 18:08:17 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2010-04-19 10:43:42 +00:00
|
|
|
gmp.10:${PORTSDIR}/math/gmp
|
2001-04-23 16:52:21 +00:00
|
|
|
|
2010-02-12 14:20:23 +00:00
|
|
|
USE_XORG= x11 xmu
|
2002-08-30 14:07:44 +00:00
|
|
|
USE_GNOME= gtk12
|
2001-04-23 16:52:21 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-09-20 06:22:32 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-04-23 16:52:21 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-02-12 14:20:23 +00:00
|
|
|
CONFIGURE_ARGS= --disable-cups --datadir=${PREFIX}/share
|
2001-04-23 16:52:21 +00:00
|
|
|
|
2010-11-23 09:57:57 +00:00
|
|
|
CONFLICTS= surf-0* # www/surf
|
|
|
|
|
2010-02-12 14:20:23 +00:00
|
|
|
MAN1= ${PORTNAME}.1
|
2006-08-14 16:12:50 +00:00
|
|
|
PORTDOCS= manual.sgml
|
2010-02-12 14:20:23 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|@CUPS_TRUE@|#|g ; \
|
|
|
|
s|@CUPS_FALSE@||g'
|
2006-08-14 16:12:50 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2006-05-10 14:46:47 +00:00
|
|
|
.include <bsd.port.mk>
|