1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/print/gnome-print/Makefile

43 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
2002-06-05 20:15:54 +00:00
PORTVERSION= 0.36
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
MAINTAINER= gnome@FreeBSD.org
1999-01-17 20:19:18 +00:00
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
PLIST_SUB= VERSION=${PORTVERSION}
1999-01-17 20:19:18 +00:00
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_GNOMECTRL= yes
INSTALLS_SHLIB= yes
2001-10-09 07:31:12 +00:00
GNU_CONFIGURE= yes
2001-11-20 14:18:25 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
1999-01-17 20:19:18 +00:00
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
2001-10-09 07:31:12 +00:00
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
post-install:
@${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
1999-01-17 20:19:18 +00:00
.include <bsd.port.mk>