1999-01-17 21:19:18 +01:00
|
|
|
# New ports collection makefile for: gnomeprint
|
|
|
|
# Date created: 15 Jan 1999
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1999-01-17 21:19:18 +01:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1999-01-17 21:19:18 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= gnomeprint
|
2001-11-09 17:39:26 +01:00
|
|
|
PORTVERSION= 0.31
|
1999-02-02 15:17:53 +01:00
|
|
|
CATEGORIES= print gnome
|
1999-01-27 09:31:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 20:08:13 +01:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-print
|
2000-04-09 19:41:40 +02:00
|
|
|
DISTNAME= gnome-print-${PORTVERSION}
|
1999-01-17 21:19:18 +01:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1999-01-17 21:19:18 +01:00
|
|
|
|
2001-09-11 23:23:46 +02:00
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
1999-05-30 05:53:04 +02:00
|
|
|
|
2000-09-28 19:58:46 +02:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
1999-01-17 21:19:18 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
2001-05-04 23:39:58 +02:00
|
|
|
USE_GNOMECTRL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-10-09 09:31:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-10-30 13:42:02 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
`gdk-pixbuf-config --cflags`" \
|
1999-05-30 05:53:04 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-01-17 21:19:18 +01:00
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-10-09 09:31:12 +02:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-08-04 03:19:21 +02:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1999-01-17 21:19:18 +01:00
|
|
|
.include <bsd.port.mk>
|