Use mkcatalog command for making ${PREFIX}/share/sgml/catalog.
This commit is contained in:
parent
80e70145a6
commit
fc84a44f0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34283
2 changed files with 8 additions and 0 deletions
|
@ -15,12 +15,15 @@ EXTRACT_SUFX= .zip
|
|||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
||||
RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
|
||||
|
||||
EXTRACT_ONLY= # empty
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
|
||||
|
||||
INSTDIR= ${PREFIX}/share/sgml/iso8879
|
||||
MKCATALOG= ${PREFIX}/sbin/mkcatalog
|
||||
|
||||
pre-install:
|
||||
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
|
||||
|
@ -31,4 +34,7 @@ do-install:
|
|||
@${CHMOD} ${SHAREMODE} ${INSTDIR}/*
|
||||
@${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}
|
||||
|
||||
post-install:
|
||||
@${MKCATALOG} -q install ${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -17,6 +17,8 @@ share/sgml/iso8879/ISOlat2
|
|||
share/sgml/iso8879/ISOnum
|
||||
share/sgml/iso8879/ISOpub
|
||||
share/sgml/iso8879/ISOtech
|
||||
@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%
|
||||
share/sgml/iso8879/catalog
|
||||
@exec %%MKCATALOG%% -q install %%DTD_NAME%%
|
||||
@dirrm share/sgml/iso8879
|
||||
@unexec rmdir %D/share/sgml 2>/dev/null || true
|
||||
|
|
Loading…
Reference in a new issue