1999-09-09 02:05:41 +00:00
|
|
|
# New ports collection makefile for: gnomeusersguide
|
|
|
|
# Date created: 02 August 1999
|
|
|
|
# Whom: Yukihiro Nakai <Nacai@iname.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= gnomeusersguide
|
2000-06-01 16:10:38 +00:00
|
|
|
PORTVERSION= 1.2
|
1999-09-09 02:05:41 +00:00
|
|
|
CATEGORIES= misc gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/users-guide
|
2000-06-01 16:10:38 +00:00
|
|
|
DISTNAME= users-guide-${PORTVERSION}
|
1999-09-09 02:05:41 +00:00
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-09-09 02:05:41 +00:00
|
|
|
|
2000-06-08 21:24:47 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
|
2000-06-26 16:14:32 +00:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
|
2000-06-08 21:24:47 +00:00
|
|
|
|
1999-09-09 02:05:41 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
2000-08-04 01:19:21 +00:00
|
|
|
--datadir=${PREFIX}/share/gnome
|
|
|
|
|
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'
|
1999-09-09 02:05:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|