1999-08-30 05:47:33 +00:00
|
|
|
# New ports collection makefile for: pan
|
1999-09-19 10:38:40 +00:00
|
|
|
# Date created: 07 August 1999
|
|
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
1999-08-30 05:47:33 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 17:33:32 +00:00
|
|
|
PORTNAME= pan
|
2000-09-15 18:53:33 +00:00
|
|
|
PORTVERSION= 0.8.1b5
|
2000-09-28 18:04:46 +00:00
|
|
|
PORTREVISION= 1
|
1999-08-30 05:47:33 +00:00
|
|
|
CATEGORIES= news gnome
|
2000-08-08 22:54:22 +00:00
|
|
|
MASTER_SITES= http://download.superpimp.org/pan/${PORTVERSION}/
|
2000-09-15 18:53:33 +00:00
|
|
|
DISTNAME= pan-0.8.1beta5
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2000-05-18 15:16:28 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2000-06-13 22:59:07 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-09-28 18:04:46 +00:00
|
|
|
gnomeprint.12:${PORTSDIR}/print/gnomeprint \
|
2000-09-15 18:53:33 +00:00
|
|
|
uu.1:${PORTSDIR}/converters/uulib \
|
|
|
|
unicode.0:${PORTSDIR}/devel/libunicode
|
2000-06-26 16:14:32 +00:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
|
1999-08-30 05:47:33 +00:00
|
|
|
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
2000-05-18 15:16:28 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-08-30 05:47:33 +00:00
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
2000-06-13 22:59:07 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -luu"
|
1999-08-30 05:47:33 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
2000-05-18 15:16:28 +00:00
|
|
|
.include <bsd.port.mk>
|