34 lines
982 B
Makefile
34 lines
982 B
Makefile
# $OpenBSD: Makefile,v 1.6 2001/10/24 12:36:37 espie 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
|
|
|
|
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>
|