diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-02-18 14:39:02 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-02-18 14:39:02 +0000 |
commit | e3f5102cf0fedade45366b1f342d152434e80e57 (patch) | |
tree | 288d7adaea56fad2e133781b644938e46fc9c0ff /textproc/scrollkeeper/Makefile | |
parent | 80ae5d23803ba13eb2f9687d1bf8adb2d9a40741 (diff) | |
download | pkgsrc-e3f5102cf0fedade45366b1f342d152434e80e57.tar.gz |
Update to 0.3.12. There have been lots of changes since 0.2 (this version
is almost a rewrite of the program). Note that this is still a development
version but includes new features that may be required by packages using
scrollkeeper (which won't work with the old 0.2).
Provide a framework to automatically rebuild scrollkeeper's database from
packages installing OMF files under share/omf/; they only need to include
omf.mk in their Makefile and take care to install OMF files in the said
directory.
Reviewed by rh and wiz.
Diffstat (limited to 'textproc/scrollkeeper/Makefile')
-rw-r--r-- | textproc/scrollkeeper/Makefile | 48 |
1 files changed, 36 insertions, 12 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile index a5d6a39b497..68e0247018f 100644 --- a/textproc/scrollkeeper/Makefile +++ b/textproc/scrollkeeper/Makefile @@ -1,29 +1,53 @@ -# $NetBSD: Makefile,v 1.8 2002/10/19 10:54:58 rh Exp $ +# $NetBSD: Makefile,v 1.9 2003/02/18 14:39:02 jmmv Exp $ # -DISTNAME= scrollkeeper-0.2 -PKGREVISION= 2 +DISTNAME= scrollkeeper-0.3.12 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scrollkeeper/} \ - ${MASTER_SITE_GNOME:=sources/scrollkeeper/0.2/} + ${MASTER_SITE_GNOME:=sources/scrollkeeper/0.3/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://scrollkeeper.sourceforge.net/ COMMENT= Open Document Cataloging Project BUILD_USES_MSGFMT= yes -USE_GMAKE= yes -USE_X11BASE= yes -USE_BUILDLINK2= yes +DEPENDS= docbook-xml>=4.2:../../textproc/docbook-xml +GNU_CONFIGURE= yes +USE_BUILDLINK2= yes +USE_GMAKE= yes USE_LIBTOOL= yes -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_PKGINSTALL= yes +USE_PKGLOCALEDIR= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --localstatedir=${X11PREFIX}/var -CONFIGURE_ARGS+= --sharedstatedir=${X11PREFIX}/var +LIBTOOL_OVERRIDE= ${WRKSRC}/libconfig + +CONFIGURE_ARGS= --localstatedir=${SCROLLKEEPER_DATADIR} +CONFIGURE_ARGS+= --sharedstatedir=${SCROLLKEEPER_DATADIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +.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}" +FILES_SUBST+= SCROLLKEEPER_REBUILDDB="${SCROLLKEEPER_REBUILDDB}" + +EGDIR= ${PREFIX}/share/examples/scrollkeeper +CONF_FILES= ${EGDIR}/scrollkeeper.conf ${PKG_SYSCONFDIR}/scrollkeeper.conf .include "../../devel/gettext-lib/buildlink2.mk" -.include "../../textproc/libxml/buildlink2.mk" +.include "../../textproc/libxml2/buildlink2.mk" +.include "../../textproc/libxslt/buildlink2.mk" +.include "../../textproc/intltool/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |