diff options
author | shige <shige@FreeBSD.org> | 2000-10-27 23:24:07 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-10-27 23:24:07 +0800 |
commit | 40c576683f25e43a9685a96cffbe45e150a61f63 (patch) | |
tree | f4e5a67c1d51f6fa558935d1c62a79955b277218 /textproc/linuxdoc | |
parent | 0784116dceb153d542a6aecfca206b707e470b0f (diff) | |
download | freebsd-ports-gnome-40c576683f25e43a9685a96cffbe45e150a61f63.tar.gz freebsd-ports-gnome-40c576683f25e43a9685a96cffbe45e150a61f63.tar.zst freebsd-ports-gnome-40c576683f25e43a9685a96cffbe45e150a61f63.zip |
Use mkcatalog for adding this entry to ${PREFIX}/share/sgml/catalog.
Diffstat (limited to 'textproc/linuxdoc')
-rw-r--r-- | textproc/linuxdoc/Makefile | 8 | ||||
-rw-r--r-- | textproc/linuxdoc/pkg-plist | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/textproc/linuxdoc/Makefile b/textproc/linuxdoc/Makefile index 6529131cd7de..59ebf75e6f44 100644 --- a/textproc/linuxdoc/Makefile +++ b/textproc/linuxdoc/Makefile @@ -12,14 +12,17 @@ MASTER_SITES= http://fallout.campusview.indiana.edu/ports/distfiles/ MAINTAINER= kuriyama@FreeBSD.org -RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 +RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \ + ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog EXTRACT_ONLY= # empty NO_BUILD= yes NO_WRKSUBDIR= yes +PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG} INSTDIR= ${PREFIX}/share/sgml/linuxdoc ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog +MKCATALOG= ${PREFIX}/sbin/mkcatalog pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} @@ -29,4 +32,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/linuxdoc/pkg-plist b/textproc/linuxdoc/pkg-plist index a76887b87d9a..6e4187257db0 100644 --- a/textproc/linuxdoc/pkg-plist +++ b/textproc/linuxdoc/pkg-plist @@ -1,5 +1,7 @@ share/sgml/linuxdoc/README +@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%% share/sgml/linuxdoc/catalog +@exec %%MKCATALOG%% -q install %%DTD_NAME%% share/sgml/linuxdoc/freebsd-1.0.dtd share/sgml/linuxdoc/freebsd-1.1.dtd share/sgml/linuxdoc/linuxdoc.dec |