diff options
Diffstat (limited to 'textproc/xmlcatmgr')
-rw-r--r-- | textproc/xmlcatmgr/Makefile | 36 | ||||
-rw-r--r-- | textproc/xmlcatmgr/distinfo | 2 |
2 files changed, 16 insertions, 22 deletions
diff --git a/textproc/xmlcatmgr/Makefile b/textproc/xmlcatmgr/Makefile index 9e25ffcd2ad1..ac6b47bd37d8 100644 --- a/textproc/xmlcatmgr/Makefile +++ b/textproc/xmlcatmgr/Makefile @@ -6,34 +6,28 @@ # PORTNAME= xmlcatmgr -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME:L} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org -COMMENT= SGML/XML catalog manager +COMMENT= SGML and XML catalog manager + +BUILD_DEPENDS= buildtool:${PORTSDIR}/devel/buildtool MAN1= xmlcatmgr.1 -CATALOG_MASTER_SGML_DIR?= ${PREFIX}/share/sgml -CATALOG_MASTER_SGML?= ${CATALOG_MASTER_SGML_DIR}/catalog -CATALOG_PORTS_SGML?= ${CATALOG_MASTER_SGML_DIR}/catalog.ports -CATALOG_MASTER_XML_DIR?= ${PREFIX}/share/xml -CATALOG_MASTER_XML?= ${CATALOG_MASTER_XML_DIR}/catalog -CATALOG_PORTS_XML?= ${CATALOG_MASTER_XML_DIR}/catalog.ports - -MAKEFILE= Makefile.boot -MAKE_ENV+= BT_PREFIX="${PREFIX}" -MAKE_ENV+= BT_PROG_AWK="${AWK}" -MAKE_ENV+= BT_PROG_SH="${SH}" -MAKE_ENV+= BT_DIR_CATALOG="${CATALOG_MASTER_XML_DIR}" -MAKE_ENV+= BT_DIR_DOC="${DOCSDIR}" -MAKE_ENV+= BT_INSTALL_DIR="${MKDIR}" -MAKE_ENV+= BT_INSTALL_BIN="${INSTALL_SCRIPT}" -MAKE_ENV+= BT_INSTALL_DATA="${INSTALL_DATA}" - -post-install: +do-configure: + cd ${WRKSRC} && buildtool config -p ${PREFIX} \ + --dir-catalog=${PREFIX}/share/xml \ + --dir-doc=${DOCSDIR} + +do-build: + cd ${WRKSRC} && buildtool build + +do-install: + cd ${WRKSRC} && buildtool install @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/textproc/xmlcatmgr/distinfo b/textproc/xmlcatmgr/distinfo index a59b386c8362..dee386dc2598 100644 --- a/textproc/xmlcatmgr/distinfo +++ b/textproc/xmlcatmgr/distinfo @@ -1 +1 @@ -MD5 (xmlcatmgr-1.1.tar.gz) = 9fdf119d20a64b3dfc23dadd36146ffb +MD5 (xmlcatmgr-1.2.tar.gz) = 1a1b0f869d7a45b93c8270e88fd93550 |