1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Update to 0.704

- Replace WITH_EXAMPLES knob with NOPORTEXAMPLES
This commit is contained in:
Nicola Vitale 2007-08-24 13:26:13 +00:00
parent ac5f0793d8
commit 89189e1ac5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198242
2 changed files with 10 additions and 17 deletions

View File

@ -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>

View File

@ -1,3 +1,3 @@
MD5 (mapyrus-0.702.zip) = 19ad10aa5f7351cbb0e0ebc48cff105f
SHA256 (mapyrus-0.702.zip) = f68c943293df405d4133d204c5a24272d38283d473443c57d7ec4ec622ba2b36
SIZE (mapyrus-0.702.zip) = 1571725
MD5 (mapyrus-0.704.zip) = 66594c0806bd817ebcd4599327d58d0c
SHA256 (mapyrus-0.704.zip) = 52eb71b2286291b9f20f61f0cd6c0be855247c0963f3f5ea1bc1705c4857cde2
SIZE (mapyrus-0.704.zip) = 1573300