openbsd-ports/textproc/scrollkeeper/Makefile
2002-05-14 12:07:09 +00:00

33 lines
963 B
Makefile

# $OpenBSD: Makefile,v 1.7 2002/05/14 12:07:10 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:=stable/sources/scrollkeeper/}
MODULES= gettext
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>