openbsd-ports/textproc/scrollkeeper/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.24 2007/12/17 20:33:43 ajacoutot Exp $
COMMENT= Scrollkeeper Open Documentation Cataloging System
DISTNAME= scrollkeeper-0.3.14
PKGNAME= ${DISTNAME}p5
SHARED_LIBS= scrollkeeper 1.0
CATEGORIES= textproc
HOMEPAGE= http://scrollkeeper.sourceforge.net
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
2004-12-06 19:23:20 -05:00
WANTLIB= c m z
2004-08-10 04:46:49 -04:00
MODULES= devel/gettext
BUILD_DEPENDS= :docbook->=4.2p1:textproc/docbook \
:p5-XML-Parser-*:textproc/p5-XML-Parser
RUN_DEPENDS= :docbook->=4.2p1:textproc/docbook
2006-08-03 19:55:10 -04:00
LIB_DEPENDS= xml2.>=7:libxml->=2.6.16p6:textproc/libxml \
xslt.>=1::textproc/libxslt
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-omfdirs=${LOCALBASE}/share/omf
CONFIGURE_ARGS+= --with-xml-catalog=/var/db/xmlcatalog
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2001-09-18 11:53:13 -04:00
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrollkeeper; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/scrollkeeper/
${INSTALL_DATA_DIR} ${PREFIX}/share/libxml2
${INSTALL_DATA} ${FILESDIR}/scrollkeeper.spec ${PREFIX}/share/libxml2
.include <bsd.port.mk>