pkgsrc/textproc/scrollkeeper/Makefile

64 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2005/12/05 23:55:21 rillig Exp $
#
Update to 0.3.14. Changes since 0.3.12: 0.3.14 ======= - Build fixes: - Correct problem with distributed intltool scripts. - Update rpm spec file. 0.3.13 ======= - Runtime fixes: - Use a per-user directory for storing the extracted contents files. This avoids problems when multiple users share /tmp and use scrollkeeper. - Do XInclude processing on documents before extracting information. - By default, do not use the network to retrieve required DTDs. - Can be changed using the '-n' parameter to scrollkeeper-install and friends. - Do not segfault if an OMF file is invalid. - Build fixes: - Install various package documentation files. - Tidy up the build process a little bit and fix some portability bugs. - Update included gettext code. - Build fixes for specific platforms (Solaris and *BSD systems). - Detect installed version of the DocBook DTD at build time. - Allow the location of system XML catalog to be specified. - see the --with-xml-catalog flag. - Install locale-specific program files correctly (i.e. portably). - Allow scrollkeeper data directory to be customised - see the --with-partial-db-dir flag. - Upgrade supplied gettext and automake versions. - Miscellaneous: - Correctly register translated versions of documents by considering their category, rather than their titles. - Don't leak file descriptors when updating the database. This fixes resource starvation problems on some systems. - Fix some memory leaks. - Should now work with IPv6-enabled systems. - When using a non-default prefix, the scrollkeeper log files are updated correctly. - Many Sourceforge bug tracker bugs fixed and all outstanding patches in the patch tracker evaluated and applied if appropriate. - Translations updated.
2004-01-23 17:55:37 +01:00
DISTNAME= scrollkeeper-0.3.14
PKGREVISION= 6
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scrollkeeper/} \
${MASTER_SITE_GNOME:=sources/scrollkeeper/0.3/}
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://scrollkeeper.sourceforge.net/
COMMENT= Open Document Cataloging Project
2004-06-05 01:58:12 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_USES_MSGFMT= yes
DEPENDS+= docbook-xml>=4.2nb7:../../textproc/docbook-xml
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --localstatedir=${SCROLLKEEPER_DATADIR:Q}
CONFIGURE_ARGS+= --sharedstatedir=${SCROLLKEEPER_DATADIR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
Update to 0.3.14. Changes since 0.3.12: 0.3.14 ======= - Build fixes: - Correct problem with distributed intltool scripts. - Update rpm spec file. 0.3.13 ======= - Runtime fixes: - Use a per-user directory for storing the extracted contents files. This avoids problems when multiple users share /tmp and use scrollkeeper. - Do XInclude processing on documents before extracting information. - By default, do not use the network to retrieve required DTDs. - Can be changed using the '-n' parameter to scrollkeeper-install and friends. - Do not segfault if an OMF file is invalid. - Build fixes: - Install various package documentation files. - Tidy up the build process a little bit and fix some portability bugs. - Update included gettext code. - Build fixes for specific platforms (Solaris and *BSD systems). - Detect installed version of the DocBook DTD at build time. - Allow the location of system XML catalog to be specified. - see the --with-xml-catalog flag. - Install locale-specific program files correctly (i.e. portably). - Allow scrollkeeper data directory to be customised - see the --with-partial-db-dir flag. - Upgrade supplied gettext and automake versions. - Miscellaneous: - Correctly register translated versions of documents by considering their category, rather than their titles. - Don't leak file descriptors when updating the database. This fixes resource starvation problems on some systems. - Fix some memory leaks. - Should now work with IPv6-enabled systems. - When using a non-default prefix, the scrollkeeper log files are updated correctly. - Many Sourceforge bug tracker bugs fixed and all outstanding patches in the patch tracker evaluated and applied if appropriate. - Translations updated.
2004-01-23 17:55:37 +01:00
CONFIGURE_ARGS+= --with-partial-db-dir=db
CONFIGURE_ARGS+= --with-xml-catalog=${BUILDLINK_PREFIX.xmlcatmgr}/share/xml/catalog
.include "../../mk/bsd.prefs.mk"
.if ${LOCALBASE} == ${X11PREFIX}
CONFIGURE_ARGS+= --with-omfdirs=${PREFIX}/share/omf
.else
CONFIGURE_ARGS+= --with-omfdirs=${LOCALBASE}/share/omf:${X11PREFIX}/share/omf
.endif
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
SCROLLKEEPER_DATADIR= ${PREFIX}/libdata/scrollkeeper
SCROLLKEEPER_REBUILDDB= ${PREFIX}/bin/scrollkeeper-rebuilddb
FILES_SUBST+= SCROLLKEEPER_DATADIR=${SCROLLKEEPER_DATADIR:Q}
FILES_SUBST+= SCROLLKEEPER_REBUILDDB=${SCROLLKEEPER_REBUILDDB:Q}
EGDIR= ${PREFIX}/share/examples/scrollkeeper
CONF_FILES= ${EGDIR}/scrollkeeper.conf ${PKG_SYSCONFDIR}/scrollkeeper.conf
XML_ENTRIES= public "-//Scrollkeeper//DTD Contents List V1.0//EN" \
${PREFIX}/share/xml/scrollkeeper/dtds/scrollkeeper-cl.dtd
XML_ENTRIES+= public "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
${PREFIX}/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd
XML_ENTRIES+= public "-//Open Source Metadata Framework (OMF) //DTD OMF.dtd V1.1//EN" \
${PREFIX}/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd
2004-02-11 05:35:20 +01:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"