mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
chown files to root:wheel after extraction;
propeply define PREFIX for *all* formats of the manual; use install instead of cp.
This commit is contained in:
parent
c731019d87
commit
3b8956b0d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76725
1 changed files with 6 additions and 5 deletions
|
@ -36,19 +36,20 @@ pre-fetch:
|
||||||
@${ECHO} "This manual is available in two formats: HTML and PDF."
|
@${ECHO} "This manual is available in two formats: HTML and PDF."
|
||||||
@${ECHO} "Note that the manual is pretty darn big."
|
@${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
|
PREFIX?= ${X11BASE} # This port itself does not require Xlib
|
||||||
EXTRACT_ONLY= #empty
|
EXTRACT_ONLY= #empty
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
.if ${DOCFORMAT} == "HTML"
|
||||||
|
DISTFILES= GimpUsersManual_SecondEdition-HTML_Color.tar.gz \
|
||||||
|
GimpUsersManual_SecondEdition-HTML_Search.tar.gz
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/share/doc/gimp
|
@${MKDIR} ${PREFIX}/share/doc/gimp
|
||||||
for file in ${DISTFILES} ; do \
|
for file in ${DISTFILES} ; do \
|
||||||
cd ${PREFIX}/share/doc/gimp; \
|
cd ${PREFIX}/share/doc/gimp; \
|
||||||
${TAR} -zxf ${DISTDIR}/$${file}; \
|
${TAR} -zxf ${DISTDIR}/$${file}; \
|
||||||
|
@${CHOWN} -R root:wheel ${PREFIX}/share/doc/gimp \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -62,7 +63,7 @@ NO_BUILD= yes
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/share/doc/gimp
|
@${MKDIR} ${PREFIX}/share/doc/gimp
|
||||||
for file in ${DISTFILES} ; do \
|
for file in ${DISTFILES} ; do \
|
||||||
${CP} ${DISTDIR}/$${file} ${PREFIX}/share/doc/gimp/; \
|
${INSTALL_DATA} ${DISTDIR}/$${file} ${PREFIX}/share/doc/gimp/ ; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue