aboutsummaryrefslogtreecommitdiff
path: root/graphics/openclipart
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-10-09 22:48:23 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-10-09 22:48:23 +0000
commitb207174cd4cbf51dabc03ffed88ee1fe1e6caf6a (patch)
treed9fb062918cace49293e2ce90e82d74a9b183b2b /graphics/openclipart
parent404f303a475fe99ee61866c233272ccac8a66d95 (diff)
downloadports-b207174cd4cbf51dabc03ffed88ee1fe1e6caf6a.tar.gz
ports-b207174cd4cbf51dabc03ffed88ee1fe1e6caf6a.zip
Notes
Diffstat (limited to 'graphics/openclipart')
-rw-r--r--graphics/openclipart/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/openclipart/Makefile b/graphics/openclipart/Makefile
index 305ac4b96c9f..89a844f247db 100644
--- a/graphics/openclipart/Makefile
+++ b/graphics/openclipart/Makefile
@@ -16,9 +16,11 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Open Clip Art Library
USE_BZIP2= yes
-PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${SVGPNG}
NO_BUILD= yes
+PLIST= ${WRKDIR}/pkg-plist
+
+OPTIONS= PNG "Install png files" on
.include <bsd.port.pre.mk>
@@ -28,13 +30,6 @@ SVGPNG= -full
SVGPNG= -svgonly
.endif
-pre-everything::
-.if !defined(WITHOUT_PNG)
- @${ECHO_MSG} "Disable the install of png files by defining"
- @${ECHO_MSG} "WITHOUT_PNG=yes"
- @${ECHO_MSG} ""
-.endif
-
pre-install:
${RM} -f ${PLIST}
${TOUCH} -f ${PLIST}
@@ -46,6 +41,8 @@ pre-install:
do-install:
cd ${WRKSRC} && ${FIND} . | \
- ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${DATADIR}
+ ${CPIO} -vpdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+ @${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
+ @${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} ${BINMODE}
.include <bsd.port.post.mk>