2004-08-10 04:46:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2004/08/10 08:46:50 xsa Exp $
|
2001-09-13 16:40:56 -04:00
|
|
|
|
2001-09-18 11:53:13 -04:00
|
|
|
COMMENT= "Scrollkeeper Open Documentation Cataloging System"
|
2002-08-10 07:41:27 -04:00
|
|
|
|
2004-02-21 17:25:33 -05:00
|
|
|
VERSION= 0.3.14
|
2003-09-29 01:59:33 -04:00
|
|
|
DISTNAME= scrollkeeper-${VERSION}
|
2001-09-13 16:40:56 -04:00
|
|
|
CATEGORIES= textproc
|
2002-08-10 07:41:27 -04:00
|
|
|
|
2001-09-13 16:40:56 -04:00
|
|
|
HOMEPAGE= http://scrollkeeper.sourceforge.net
|
|
|
|
|
2002-11-29 23:41:29 -05:00
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
2001-09-13 16:40:56 -04:00
|
|
|
|
2002-11-29 23:41:29 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/scrollkeeper/0.3/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-09-13 16:40:56 -04:00
|
|
|
|
2002-11-29 23:41:29 -05:00
|
|
|
# LGPL
|
2001-09-13 16:40:56 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-08-10 04:46:49 -04:00
|
|
|
MODULES= devel/gettext
|
2002-11-29 23:41:29 -05:00
|
|
|
|
2003-07-12 02:24:49 -04:00
|
|
|
BUILD_DEPENDS= :docbook->=4.2p1:textproc/docbook \
|
2004-02-21 17:25:33 -05:00
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
2003-07-12 02:24:49 -04:00
|
|
|
RUN_DEPENDS= :docbook->=4.2p1:textproc/docbook \
|
|
|
|
:libxml->=2.5.7p1:textproc/libxml
|
|
|
|
LIB_DEPENDS= xml2.7::textproc/libxml \
|
2002-11-29 23:41:29 -05:00
|
|
|
xslt.1::textproc/libxslt
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2001-09-19 21:32:03 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-09-13 16:40:56 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var
|
2002-11-29 23:41:29 -05:00
|
|
|
CONFIGURE_ARGS+= --with-omfdirs=${LOCALBASE}/share/omf
|
2004-02-21 17:25:33 -05:00
|
|
|
CONFIGURE_ARGS+= --with-xml-catalog=/var/db/xmlcatalog
|
2001-09-13 16:40:56 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-09-18 11:53:13 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-09-13 16:40:56 -04:00
|
|
|
|
2002-11-29 23:41:29 -05:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrollkeeper; \
|
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/scrollkeeper/
|
2001-09-13 16:40:56 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|