mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add STAGEDIR support.
This commit is contained in:
parent
03458237af
commit
4bc58d5b64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332527
@ -15,22 +15,17 @@ RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
PLIST_SUB= XMLCATMGR=${XMLCATMGR}
|
||||
PLIST_SUB+= XMLDIR=${XMLDIR}
|
||||
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
||||
PLIST_SUB+= CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
|
||||
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
|
||||
XMLDIR=${XMLDIR} \
|
||||
CATALOG_PORTS_SGML=${LOCALBASE}/share/sgml/catalog.ports \
|
||||
CATALOG_PORTS_XML=${LOCALBASE}/share/xml/catalog.ports
|
||||
|
||||
XMLDIR= ${PREFIX}/share/xml/${PORTNAME}
|
||||
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
||||
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
||||
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${XMLDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ent\
|
||||
${FILESDIR}/catalog ${FILESDIR}/catalog.xml ${XMLDIR}
|
||||
${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${XMLDIR}/catalog
|
||||
${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${XMLDIR}/catalog.xml
|
||||
${MKDIR} ${STAGEDIR}${XMLDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ent \
|
||||
${FILESDIR}/catalog ${FILESDIR}/catalog.xml ${STAGEDIR}${XMLDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user