mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Fix packaging as a regular user
This commit is contained in:
parent
959a22f33b
commit
02225d9784
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355831
@ -17,6 +17,7 @@ RUN_DEPENDS+= ${LOCALBASE}/${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
||||
USES= zip
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
XMLCATMGR= bin/xmlcatmgr
|
||||
XMLCAT= share/xml/catalog.ports
|
||||
@ -31,11 +32,10 @@ PLIST_SUB+= XMLCATMGR=${XMLCATMGR} SGMLCAT=${SGMLCAT} XMLCAT=${XMLCAT} \
|
||||
DTDDIR=${DTDDIR}
|
||||
SUB_FILES= ${CATALOG_FILES}
|
||||
SUB_LIST+= DTDDIR=${PREFIX}/${DTDDIR}
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "*.css *.dtd *.mod" ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||
.for f in ${CATALOG_FILES}
|
||||
${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user