summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-01-19 06:51:06 +0000
committerkuriyama <kuriyama@FreeBSD.org>2002-01-19 06:51:06 +0000
commit3fd31d3228d5bc94e032f7094d6114b2301c8363 (patch)
tree1014c32aac8b207d7468e86a3b2037b468935af3 /textproc
parentcdad59558bc9a26a78f7ce6ee82eb253bc76cace (diff)
downloadFreeBSD-ports-3fd31d3228d5bc94e032f7094d6114b2301c8363.zip
FreeBSD-ports-3fd31d3228d5bc94e032f7094d6114b2301c8363.tar.gz
Add catalog entry by using mkconfig.
PR: ports/33860 Submitted by: Rod Taylor <rbt@zort.ca>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/openjade/Makefile8
-rw-r--r--textproc/openjade/pkg-plist2
2 files changed, 9 insertions, 1 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile
index 46be466..1fe2860 100644
--- a/textproc/openjade/Makefile
+++ b/textproc/openjade/Makefile
@@ -7,19 +7,24 @@
PORTNAME= openjade
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kuriyama@FreeBSD.org
+RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+
USE_GMAKE= YES
USE_LIBTOOL= YES
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
--datadir=${PREFIX}/share/sgml/openjade
INSTALLS_SHLIB= yes
+PLIST_SUB= MKCATALOG=${MKCATALOG}
+
+MKCATALOG= ${PREFIX}/sbin/mkcatalog
pre-install:
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
@@ -27,6 +32,7 @@ pre-install:
post-install:
@${MKDIR} ${PREFIX}/share/sgml/openjade
@${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/openjade
+ @${MKCATALOG} -q install openjade
.include <bsd.port.pre.mk>
diff --git a/textproc/openjade/pkg-plist b/textproc/openjade/pkg-plist
index d95f593..5acd36c 100644
--- a/textproc/openjade/pkg-plist
+++ b/textproc/openjade/pkg-plist
@@ -12,6 +12,7 @@ lib/libospgrove.so
lib/libospgrove.so.0
lib/libostyle.so
lib/libostyle.so.0
+@unexec %%MKCATALOG%% -q deinstall openjade
share/sgml/openjade/ChangeLog
share/sgml/openjade/Makefile.jadetex
share/sgml/openjade/builtins.dsl
@@ -29,3 +30,4 @@ share/sgml/openjade/style-sheet.dtd
share/sgml/openjade/unicode.sty
@dirrm share/sgml/openjade
@unexec rmdir %D/share/sgml 2>/dev/null || true
+@exec %%MKCATALOG%% -q install openjade
OpenPOWER on IntegriCloud