openbsd-ports/textproc/scrollkeeper/Makefile
2001-09-20 18:39:12 +00:00

33 lines
964 B
Makefile

# $OpenBSD: Makefile,v 1.5 2001/09/20 18:39:13 naddy Exp $
COMMENT= "Scrollkeeper Open Documentation Cataloging System"
V= 0.2
DISTNAME= scrollkeeper-${V}
CATEGORIES= textproc
NEED_VERSION= 1.455
HOMEPAGE= http://scrollkeeper.sourceforge.net
MAINTAINER= Nils Nordman <nino@nforced.com>
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/scrollkeeper
LIB_DEPENDS= xml.9::textproc/libxml1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-extract:
@find ${WRKSRC}/cl/templates -name Makefile.in | xargs \
perl -pi -e 's|data_link_dir = \$$\(datadir\)/scrollkeeper/Templates/|data_link_dir = |g; \
s|\$$\(LN_S\) -f -n \$$\(DESTDIR\)|\$$\(LN_S\) -f |g'
.include <bsd.port.mk>