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
|
2000-05-17 16:31:35 +00:00
|
|
|
PORTVERSION= 0.95
|
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
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@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
|
|
|
|
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:
|
2000-08-04 01:19:21 +00:00
|
|
|
@${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'
|
|
|
|
|
1998-10-19 14:29:02 +00:00
|
|
|
.include <bsd.port.mk>
|