aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlcatmgr
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-29 15:56:40 +0800
committersergei <sergei@FreeBSD.org>2003-12-29 15:56:40 +0800
commit12b4fb5ae1c44cc81ffcc3030bdce2d9d03e94c0 (patch)
tree466c5fbc65d0f8b9100f4370adcaeb0a9f04d83f /textproc/xmlcatmgr
parent2f97ab6038464dd5f7836a732b8aefdba1b9fa86 (diff)
downloadfreebsd-ports-gnome-12b4fb5ae1c44cc81ffcc3030bdce2d9d03e94c0.tar.gz
freebsd-ports-gnome-12b4fb5ae1c44cc81ffcc3030bdce2d9d03e94c0.tar.zst
freebsd-ports-gnome-12b4fb5ae1c44cc81ffcc3030bdce2d9d03e94c0.zip
- Update to 1.2
- Switch to using native (i.e. buildtool) build/install mechanism This should give a bit more visibility to Buildtool, which is a great BSD-licensed replacement for autoconf/automake disaster PR: 60570 Submitted by: sergei Approved by: hrs (maintainer)
Diffstat (limited to 'textproc/xmlcatmgr')
-rw-r--r--textproc/xmlcatmgr/Makefile36
-rw-r--r--textproc/xmlcatmgr/distinfo2
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