freebsd-ports/print/gnome-print/Makefile

39 lines
981 B
Makefile
Raw Normal View History

1999-01-17 21:19:18 +01:00
# New ports collection makefile for: gnomeprint
# Date created: 15 Jan 1999
# 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
CATEGORIES= print gnome
1999-01-27 09:31:54 +01:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-print
DISTNAME= gnome-print-${PORTVERSION}
1999-01-17 21:19:18 +01:00
MAINTAINER= gnome@FreeBSD.org
1999-01-17 21:19:18 +01:00
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
PLIST_SUB= VERSION=${PORTVERSION}
1999-01-17 21:19:18 +01:00
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_GNOMECTRL= yes
INSTALLS_SHLIB= yes
2001-10-09 09:31:12 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
`gdk-pixbuf-config --cflags`" \
LIBS="-L${LOCALBASE}/lib"
1999-01-17 21:19:18 +01:00
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
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 \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
1999-01-17 21:19:18 +01:00
.include <bsd.port.mk>