diff options
Diffstat (limited to 'misc/gnomeuserdocs2/Makefile')
-rw-r--r-- | misc/gnomeuserdocs2/Makefile | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/misc/gnomeuserdocs2/Makefile b/misc/gnomeuserdocs2/Makefile index 28683f533ac..b7041cabc02 100644 --- a/misc/gnomeuserdocs2/Makefile +++ b/misc/gnomeuserdocs2/Makefile @@ -1,29 +1,35 @@ -# New ports collection makefile for: gnomeuserdocs -# Date created: 27th February 2001 -# Whom: Ade Lovett <ade@FreeBSD.org> +# New ports collection makefile for: gnomeuserdocs2 +# Date created: 07 July 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= gnomeuserdocs -PORTVERSION= 1.4.1.1 +PORTNAME= gnomeuserdocs2 +PORTVERSION= 1.93 CATEGORIES= misc gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= stable/sources/gnome-user-docs -DISTNAME= gnome-user-docs-${PORTVERSION} +MASTER_SITE_SUBDIR= 2.0.0/releases/gnome-2.0-desktop-final +DISTNAME= gnome2-user-docs-${PORTVERSION} +DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui + +USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${REINPLACE_CMD} -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' + @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]datadir[)]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> |