2004-03-28 21:51:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2004/03/28 19:51:06 jmmv Exp $
|
2003-01-10 20:24:48 +01:00
|
|
|
#
|
|
|
|
|
2004-03-28 21:51:06 +02:00
|
|
|
DISTNAME= xmlcatmgr-2.0
|
2003-01-10 20:24:48 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlcatmgr/}
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
2003-04-05 20:31:37 +02:00
|
|
|
HOMEPAGE= http://xmlcatmgr.sourceforge.net/
|
2004-01-23 18:12:16 +01:00
|
|
|
COMMENT= XML and SGML catalog manager
|
2003-01-10 20:24:48 +01:00
|
|
|
|
2004-01-06 00:34:03 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
HAS_CONFIGURE= YES
|
2004-01-06 00:34:03 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= YES
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= -p ${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= -c ${PKG_SYSCONFDIR}/xml/catalog
|
2004-01-23 18:12:16 +01:00
|
|
|
CONFIGURE_ARGS+= -C ${PKG_SYSCONFDIR}/sgml/catalog
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
CONFIGURE_ENV+= SED="${SED}"
|
|
|
|
CONFIGURE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
|
|
|
|
CONFIGURE_ENV+= INSTALL_DIR="${INSTALL_DATA_DIR}"
|
|
|
|
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
|
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/configure.sh
|
2003-01-11 22:08:42 +01:00
|
|
|
|
2003-01-29 21:21:06 +01:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/sgml ${PKG_SYSCONFDIR}/xml
|
2003-01-11 22:08:42 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/xmlcatmgr
|
2003-01-29 21:21:06 +01:00
|
|
|
CONF_FILES= ${EGDIR}/catalog.etc.sgml ${PKG_SYSCONFDIR}/sgml/catalog
|
|
|
|
CONF_FILES+= ${EGDIR}/catalog.etc.xml ${PKG_SYSCONFDIR}/xml/catalog
|
2003-09-08 14:26:20 +02:00
|
|
|
MAKE_DIRS= ${PREFIX}/share/sgml ${PREFIX}/share/xml
|
|
|
|
SUPPORT_FILES= ${EGDIR}/catalog.share.sgml ${PREFIX}/share/sgml/catalog
|
|
|
|
SUPPORT_FILES+= ${EGDIR}/catalog.share.xml ${PREFIX}/share/xml/catalog
|
2003-01-11 22:08:42 +01:00
|
|
|
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
BUILD_DIRS= ${WRKSRC}/work
|
|
|
|
INSTALL_DIRS= ${WRKSRC}/work
|
|
|
|
|
2003-01-11 22:08:42 +01:00
|
|
|
post-build:
|
2003-01-29 21:21:06 +01:00
|
|
|
@${ECHO} "Creating SGML catalogs..."
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
@${WRKSRC}/work/xmlcatmgr -sc ${WRKDIR}/catalog.etc.sgml create
|
|
|
|
@${WRKSRC}/work/xmlcatmgr -sc ${WRKDIR}/catalog.sgml create
|
|
|
|
@${WRKSRC}/work/xmlcatmgr -sc ${WRKDIR}/catalog.etc.sgml add \
|
2003-01-11 22:08:42 +01:00
|
|
|
CATALOG ${PREFIX}/share/sgml/catalog
|
2003-01-29 21:21:06 +01:00
|
|
|
@${ECHO} "Creating XML catalogs..."
|
Update to 2.0alpha1. This is the first version of the development branch.
I'm updating the package to this version because it should fix many
portability issues (avoiding the installation of GNU tools), and because
it is a lot safer when modifying existing catalog files (not line oriented
any more and with real file locking).
I've tested the program under several other systems and platforms (including
FreeBSD, Linux and Solaris, the later with the sunpro compiler too), and it
built and worked fine. Thanks to simonb@ for testing under an Alpha system
with pkgsrc.
Change log follows:
Released on 2003/12/23, its state was alpha.
* xmlcatmgr has been completely rewritten in C. Even though, command line
compatibility has been kept, so that existing scripts using this program
do not break.
* Buildtool is not used any more. A custom build infrastructure has been
implemented, as something small and very portable was needed.
* Added the `lookup' action, used to search for entries in catalogs.
* Added real parsers to manipulate SGML and XML catalogs. The program is
not line oriented any more, thus beeing a lot more flexible.
* Multiple race conditions fixed, which were unavoidable from a shell
script.
* Better handling of special characters and spaces in strings, difficult
to handle from shell scripts.
2003-12-23 12:45:05 +01:00
|
|
|
@${WRKSRC}/work/xmlcatmgr -c ${WRKDIR}/catalog.etc.xml create
|
|
|
|
@${WRKSRC}/work/xmlcatmgr -c ${WRKDIR}/catalog.xml create
|
|
|
|
@${WRKSRC}/work/xmlcatmgr -c ${WRKDIR}/catalog.etc.xml add \
|
2003-01-29 21:21:06 +01:00
|
|
|
nextCatalog ${PREFIX}/share/xml/catalog
|
2003-01-10 20:24:48 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-01-11 22:08:42 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2003-01-29 21:21:06 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/catalog.etc.sgml ${EGDIR}/catalog.etc.sgml
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/catalog.etc.xml ${EGDIR}/catalog.etc.xml
|
2003-09-08 14:26:20 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/catalog.sgml ${EGDIR}/catalog.share.sgml
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/catalog.xml ${EGDIR}/catalog.share.xml
|
2003-01-10 20:24:48 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|