aboutsummaryrefslogtreecommitdiff
path: root/textproc/openjade
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-01-19 06:51:06 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-01-19 06:51:06 +0000
commite17a1187473e00b4d859029ae505b6155c3109a7 (patch)
tree42422f276f79e000d2d371bf4285b6804625e301 /textproc/openjade
parent8aed3f0cd43581f455b8aaa3b71125e0e53fb704 (diff)
downloadports-e17a1187473e00b4d859029ae505b6155c3109a7.tar.gz
ports-e17a1187473e00b4d859029ae505b6155c3109a7.zip
Notes
Diffstat (limited to 'textproc/openjade')
-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 46be4665ae22..1fe2860c84e4 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 d95f593e50d7..5acd36cd2121 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