mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Stage support
This commit is contained in:
parent
9f8c68916c
commit
9a89b072eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345282
@ -29,20 +29,16 @@ CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
||||
PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${RELDIR} \
|
||||
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
${RM} -Rf ${WRKSRC}/docsrc
|
||||
|
||||
pre-su-install:
|
||||
${MKDIR} ${INSTDIR}
|
||||
${MKDIR} ${STAGEDIR}${INSTDIR}
|
||||
${FIND} ${WRKDIR} -name '*.orig' -exec ${RM} {} \;
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${TAR} cpf - . | (cd ${INSTDIR} && ${TAR} xpf -)
|
||||
@cd ${WRKSRC} && ${TAR} cpf - . | (cd ${STAGEDIR}${INSTDIR} && ${TAR} xpf -)
|
||||
|
||||
post-install:
|
||||
-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${RELDIR}/catalog
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user