1999-01-17 19:58:37 +00:00
|
|
|
# New ports collection makefile for: ggv
|
|
|
|
# Date created: 21 August 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-19 14:29:02 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-10-19 14:29:02 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= ggv
|
2001-05-21 19:58:53 +00:00
|
|
|
PORTVERSION= 1.0.1
|
1999-02-02 13:04:06 +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/ggv
|
1998-10-19 14:29:02 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-10-19 14:29:02 +00:00
|
|
|
|
2000-10-05 07:17:31 +00:00
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
|
1998-10-19 14:29:02 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
1999-05-30 03:43:44 +00:00
|
|
|
USE_LIBTOOL= yes
|
2001-05-04 21:39:58 +00:00
|
|
|
CONFIGURE_ARGS= --with-bonobo
|
1999-05-30 03:43:44 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-10-19 14:29:02 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 01:19:21 +00:00
|
|
|
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'
|
|
|
|
|
1998-10-19 14:29:02 +00:00
|
|
|
.include <bsd.port.mk>
|