2001-04-20 18:33:03 +02:00
|
|
|
# New ports collection makefile for: scrollkeeper
|
|
|
|
# Date created: 6 April 2001
|
|
|
|
# Whom: Rene Hexel <rh@netbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scrollkeeper
|
2002-05-26 23:54:45 +02:00
|
|
|
PORTVERSION= 0.2
|
|
|
|
PORTEPOCH= 1
|
2001-04-23 18:27:01 +02:00
|
|
|
CATEGORIES= textproc gnome
|
2002-05-26 23:54:45 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
${MASTER_SITE_GNOME:S,%SUBDIR%,stable/sources/scrollkeeper,}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-04-20 18:33:03 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2001-04-20 18:33:03 +02:00
|
|
|
|
2002-06-09 08:27:17 +02:00
|
|
|
LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
2001-04-20 18:33:03 +02:00
|
|
|
|
2001-04-23 19:06:31 +02:00
|
|
|
# Don't use USE_X_PREFIX - the port doesn't really require X11 to run.
|
|
|
|
# The reason why it should be in X11BASE is that GNOME is the primary
|
|
|
|
# (only?) consumer of this port, and BadThings[tm] happen if it's not
|
|
|
|
# put in the right place.
|
2002-05-26 23:54:45 +02:00
|
|
|
PREFIX?= ${X11BASE}
|
2001-04-23 18:27:01 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2001-04-20 18:33:03 +02:00
|
|
|
USE_LIBTOOL= yes
|
2001-04-23 18:27:01 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-05-26 23:54:45 +02:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome
|
2001-04-20 18:33:03 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-05-26 23:54:45 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
2001-04-20 18:33:03 +02:00
|
|
|
|
2002-05-26 23:54:45 +02:00
|
|
|
MAN8= scrollkeeper-config.8 scrollkeeper-preinstall.8 \
|
|
|
|
scrollkeeper-rebuilddb.8 scrollkeeper-update.8
|
2001-04-20 18:33:03 +02:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
|
2002-05-26 23:54:45 +02:00
|
|
|
's|\$$\(LN_S\) -f -n|\$$\(LN_S\) -f|g'
|
2001-04-20 18:33:03 +02:00
|
|
|
|
2001-04-23 18:27:01 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/gnome/scrollkeeper/TOC
|
|
|
|
|
2001-04-20 18:33:03 +02:00
|
|
|
.include <bsd.port.mk>
|