freebsd-ports/print/gnomeprint/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

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