aboutsummaryrefslogtreecommitdiff
path: root/graphics/mapyrus/Makefile
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-08-24 13:26:13 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-08-24 13:26:13 +0000
commit89189e1ac54bf235d72b8467f1e3e2af7ef3070d (patch)
treef4ed9579fc10c6f3109b925ebeb0903e5b1cb52a /graphics/mapyrus/Makefile
parentac5f0793d8d2291806bb21f2870982278456a76f (diff)
downloadports-89189e1ac54bf235d72b8467f1e3e2af7ef3070d.tar.gz
ports-89189e1ac54bf235d72b8467f1e3e2af7ef3070d.zip
- Update to 0.704
- Replace WITH_EXAMPLES knob with NOPORTEXAMPLES
Notes
Notes: svn path=/head/; revision=198242
Diffstat (limited to 'graphics/mapyrus/Makefile')
-rw-r--r--graphics/mapyrus/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/graphics/mapyrus/Makefile b/graphics/mapyrus/Makefile
index 1347ee753269..79f9d55551cf 100644
--- a/graphics/mapyrus/Makefile
+++ b/graphics/mapyrus/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= mapyrus
-PORTVERSION= 0.702
-PORTREVISION= 1
+PORTVERSION= 0.704
+#PORTREVISION= 0
CATEGORIES= graphics print java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,27 +32,20 @@ MAPYRUSDOCS= ${PORTNAME}.pdf
FIND_DATA= -type f -not \( -iname "copying" -or -iname "*.tex" \)
FIND_HERE= userdoc
-.if defined(WITH_EXAMPLES)
-PLIST_SUB= PORTEXAMPLES=""
-.else
-PLIST_SUB= PORTEXAMPLES="@comment "
-.endif
-
do-install:
${MKDIR} ${DATADIR}
- cd ${WRKDIR} && ${INSTALL_DATA} ${MAPYRUSJAR} ${DATADIR}/${MAPYRUSJAR}
+ ${INSTALL_DATA} ${WRKDIR}/${MAPYRUSJAR} ${DATADIR}/${MAPYRUSJAR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- cd ${WRKDIR} && ${INSTALL_DATA} ${MAPYRUSDOCS} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKDIR}/${MAPYRUSDOCS} ${DOCSDIR}/
.endif
-.if defined(WITH_EXAMPLES)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${EXAMPLESDIR} \;
.endif
post-install:
- ${CAT} ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>