1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/print/gnomeprint/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

1999-01-17 20:19:18 +00:00
# New ports collection makefile for: gnomeprint
# Date created: 15 Jan 1999
# 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-05-22 18:56:14 +00:00
PORTVERSION= 0.20
CATEGORIES= print gnome
1999-01-27 08:31:54 +00:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-print
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
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 20:19:18 +00:00
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
1999-01-17 20:19:18 +00: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 20:19:18 +00: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 20:19:18 +00:00
.include <bsd.port.mk>