aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-manual-html
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-03-02 17:21:53 +0800
committerdemon <demon@FreeBSD.org>2003-03-02 17:21:53 +0800
commit6d9e6b8b7dfa273c25e51714d843f35f4edf53c1 (patch)
tree1ddc6a5899dc3f6a14d473b399132936be5b94dc /graphics/gimp-manual-html
parent7ecb005df3204db17fba67865cb5dde012a09bc2 (diff)
downloadfreebsd-ports-gnome-6d9e6b8b7dfa273c25e51714d843f35f4edf53c1.tar.gz
freebsd-ports-gnome-6d9e6b8b7dfa273c25e51714d843f35f4edf53c1.tar.zst
freebsd-ports-gnome-6d9e6b8b7dfa273c25e51714d843f35f4edf53c1.zip
chown files to root:wheel after extraction;
propeply define PREFIX for *all* formats of the manual; use install instead of cp.
Diffstat (limited to 'graphics/gimp-manual-html')
-rw-r--r--graphics/gimp-manual-html/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/gimp-manual-html/Makefile b/graphics/gimp-manual-html/Makefile
index 731172850ae4..3bd05724e6fe 100644
--- a/graphics/gimp-manual-html/Makefile
+++ b/graphics/gimp-manual-html/Makefile
@@ -36,19 +36,20 @@ pre-fetch:
@${ECHO} "This manual is available in two formats: HTML and PDF."
@${ECHO} "Note that the manual is pretty darn big."
-.if ${DOCFORMAT} == "HTML"
-DISTFILES= GimpUsersManual_SecondEdition-HTML_Color.tar.gz \
- GimpUsersManual_SecondEdition-HTML_Search.tar.gz
-
PREFIX?= ${X11BASE} # This port itself does not require Xlib
EXTRACT_ONLY= #empty
NO_BUILD= yes
+.if ${DOCFORMAT} == "HTML"
+DISTFILES= GimpUsersManual_SecondEdition-HTML_Color.tar.gz \
+ GimpUsersManual_SecondEdition-HTML_Search.tar.gz
+
do-install:
@${MKDIR} ${PREFIX}/share/doc/gimp
for file in ${DISTFILES} ; do \
cd ${PREFIX}/share/doc/gimp; \
${TAR} -zxf ${DISTDIR}/$${file}; \
+ @${CHOWN} -R root:wheel ${PREFIX}/share/doc/gimp \
done
.endif
@@ -62,7 +63,7 @@ NO_BUILD= yes
do-install:
@${MKDIR} ${PREFIX}/share/doc/gimp
for file in ${DISTFILES} ; do \
- ${CP} ${DISTDIR}/$${file} ${PREFIX}/share/doc/gimp/; \
+ ${INSTALL_DATA} ${DISTDIR}/$${file} ${PREFIX}/share/doc/gimp/ ; \
done
.endif