1999-08-30 07:47:33 +02:00
|
|
|
# New ports collection makefile for: pan
|
1999-09-19 12:38:40 +02:00
|
|
|
# Date created: 07 August 1999
|
|
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
1999-08-30 07:47:33 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 19:33:32 +02:00
|
|
|
PORTNAME= pan
|
2001-02-11 03:40:05 +01:00
|
|
|
PORTVERSION= 0.9.3
|
1999-08-30 07:47:33 +02:00
|
|
|
CATEGORIES= news gnome
|
2001-02-07 19:13:52 +01:00
|
|
|
MASTER_SITES= http://pan.rebelbase.com/download/${PORTVERSION}/
|
1999-08-30 07:47:33 +02:00
|
|
|
|
2000-05-18 17:16:28 +02:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-08-30 07:47:33 +02:00
|
|
|
|
2000-11-14 15:10:15 +01:00
|
|
|
LIB_DEPENDS= gnomeprint.13:${PORTSDIR}/print/gnomeprint \
|
2001-02-11 03:40:05 +01:00
|
|
|
gtkhtml.8:${PORTSDIR}/www/gtkhtml
|
1999-08-30 07:47:33 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= yes
|
2000-05-18 17:16:28 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-02-11 03:40:05 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --enable-html
|
1999-08-30 07:47:33 +02:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2000-08-04 03:34:38 +02: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 17:16:28 +02:00
|
|
|
.include <bsd.port.mk>
|