1999-01-17 20:19:18 +00:00
|
|
|
# New ports collection makefile for: gnomeprint
|
|
|
|
# Date created: 15 Jan 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1999-01-17 20:19:18 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-01-17 20:19:18 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= gnomeprint
|
2000-09-28 17:58:46 +00:00
|
|
|
PORTVERSION= 0.24
|
1999-02-02 14:17:53 +00:00
|
|
|
CATEGORIES= print gnome
|
1999-01-27 08:31:54 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-print
|
2000-04-09 17:41:40 +00:00
|
|
|
DISTNAME= gnome-print-${PORTVERSION}
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2000-09-28 17:58:46 +00:00
|
|
|
BUILD_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
|
2000-06-01 16:10:38 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-09-28 17:58:46 +00:00
|
|
|
xml.5:${PORTSDIR}/textproc/libxml \
|
|
|
|
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
1999-05-30 03:53:04 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2000-09-28 17:58:46 +00:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
1999-01-17 20:19:18 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
1999-05-30 03:53:04 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-01-17 20:19:18 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-08-04 01:19:21 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome
|
1999-05-30 03:53:04 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:19:21 +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'
|
|
|
|
|
1999-01-17 20:19:18 +00:00
|
|
|
.include <bsd.port.mk>
|