1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/news/pan2/Makefile

33 lines
894 B
Makefile
Raw Normal View History

# New ports collection makefile for: pan
# Date created: 07 August 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
PORTNAME= pan
2001-09-11 16:23:44 +00:00
PORTVERSION= 0.10.0.90
CATEGORIES= news gnome
MASTER_SITES= http://pan.rebelbase.com/download/${PORTVERSION}/SOURCE/
MAINTAINER= gnome@FreeBSD.org
USE_BZIP2= yes
USE_X_PREFIX= yes
2000-10-05 07:17:31 +00:00
USE_GMAKE= yes
USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2001-08-21 15:34:42 +00:00
LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
2001-02-11 02:40:05 +00:00
CONFIGURE_ARGS= --enable-html
2001-08-21 15:34:42 +00:00
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
2001-08-21 15:34:42 +00:00
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>