diff options
author | shige <shige@FreeBSD.org> | 2000-10-27 16:14:08 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-10-27 16:14:08 +0800 |
commit | 1f8e14af46a2a47ce0aa259702e2a328dd170de4 (patch) | |
tree | 02e6feb7f7d3fda15dfa0a5448b06132b4dfa0b7 /textproc/iso8879 | |
parent | a2bcccd776f0eed1b52dc917c015f39023e7d5c1 (diff) | |
download | freebsd-ports-gnome-1f8e14af46a2a47ce0aa259702e2a328dd170de4.tar.gz freebsd-ports-gnome-1f8e14af46a2a47ce0aa259702e2a328dd170de4.tar.zst freebsd-ports-gnome-1f8e14af46a2a47ce0aa259702e2a328dd170de4.zip |
Use mkcatalog command for making ${PREFIX}/share/sgml/catalog.
Diffstat (limited to 'textproc/iso8879')
-rw-r--r-- | textproc/iso8879/Makefile | 6 | ||||
-rw-r--r-- | textproc/iso8879/pkg-plist | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile index 8f256ad175a3..ff792abd88c9 100644 --- a/textproc/iso8879/Makefile +++ b/textproc/iso8879/Makefile @@ -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> diff --git a/textproc/iso8879/pkg-plist b/textproc/iso8879/pkg-plist index 400d5bf44341..c3a0716b00b8 100644 --- a/textproc/iso8879/pkg-plist +++ b/textproc/iso8879/pkg-plist @@ -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 |