openbsd-ports/textproc/scrollkeeper/Makefile
marcm 9da68bc307 Stop scrollkeeper from opening it's "database" once for each *.omf file
without closing it.  A "base" Gnome 2 install has over 160 *.omf files
so this would play havoc with the default open file limits.

Bump version number accordingly.

Also add the scrollkeeper logs to the @extra list.
2003-09-29 05:59:33 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2003/09/29 05:59:33 marcm Exp $
COMMENT= "Scrollkeeper Open Documentation Cataloging System"
VERSION= 0.3.12
DISTNAME= scrollkeeper-${VERSION}
PKGNAME= scrollkeeper-${VERSION}p1
CATEGORIES= textproc
HOMEPAGE= http://scrollkeeper.sourceforge.net
MAINTAINER= Marc Matteo <marcm@openbsd.org>
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/scrollkeeper/0.3/}
EXTRACT_SUFX= .tar.bz2
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= gettext
BUILD_DEPENDS= :docbook->=4.2p1:textproc/docbook \
:intltool->=0.8.4:textproc/intltool
RUN_DEPENDS= :docbook->=4.2p1:textproc/docbook \
:libxml->=2.5.7p1:textproc/libxml
LIB_DEPENDS= xml2.7::textproc/libxml \
xslt.1::textproc/libxslt
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-omfdirs=${LOCALBASE}/share/omf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrollkeeper; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/scrollkeeper/
.include <bsd.port.mk>