aboutsummaryrefslogtreecommitdiff
path: root/math/surf
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-15 15:00:33 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-15 15:00:33 +0000
commita8ac537976db561849fe7bd08b4c5e80074704c9 (patch)
tree2a933cfea65fb903599d52f4ebdd6840f2e6e248 /math/surf
parent8917b0f4646f93e264339d85973f546b7788a3eb (diff)
downloadports-a8ac537976db561849fe7bd08b4c5e80074704c9.tar.gz
ports-a8ac537976db561849fe7bd08b4c5e80074704c9.zip
- Convert LIB_DEPENDS to new syntax
- Add LICENSE - Add stage support - Add DOCS option
Notes
Notes: svn path=/head/; revision=344400
Diffstat (limited to 'math/surf')
-rw-r--r--math/surf/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/math/surf/Makefile b/math/surf/Makefile
index 1e04f5cce724..1f547525806c 100644
--- a/math/surf/Makefile
+++ b/math/surf/Makefile
@@ -10,9 +10,11 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Visualize some real algebraic geometry
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
- tiff.4:${PORTSDIR}/graphics/tiff \
- gmp.10:${PORTSDIR}/math/gmp
+LICENSE= GPLv2
+
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
+ libgmp.so:${PORTSDIR}/math/gmp
USE_XORG= x11 xmu
USE_GNOME= gtk12
@@ -23,12 +25,13 @@ CONFIGURE_ARGS= --disable-cups --datadir=${PREFIX}/share
CONFLICTS= surf-0* # www/surf
-MAN1= ${PORTNAME}.1
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= manual.sgml
-PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm
+PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm \
+ man/man1/${PORTNAME}.1.gz
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e \
@@ -36,9 +39,7 @@ post-patch:
s|@CUPS_FALSE@||g'
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>