From aff7f008477de74dded8211f70a9f7968f48a7a9 Mon Sep 17 00:00:00 2001 From: mezz Date: Wed, 31 May 2006 22:18:51 +0000 Subject: - Add header in these *-reference ports. - Fix a few of pkg-descr by chase the rename. - Move all PORTREVISION and PORTEPOCH to top with ?=. - Put USE_X_PREFIX back in, but under REFERENCE_PORT, and remove PREFIX? and USE_XLIB. This fix ports to use the correct mtree when you change the prefix, for example: Incorrect: (Without USE_X_PREFIX) ================================ # cd /usr/ports/x11-toolkits/gtk20 # make -V MTREE_FILE /etc/mtree/BSD.x11-4.dist # make PREFIX=/tmp/foo -V MTREE_FILE /etc/mtree/BSD.local.dist <-- Here... ================================ Correct: (With USE_X_PREFIX) ================================ # cd /usr/ports/x11-toolkits/gtk20 # make -V MTREE_FILE /etc/mtree/BSD.x11-4.dist # make PREFIX=/tmp/foo -V MTREE_FILE /etc/mtree/BSD.x11-4.dist <-- Here... ================================ - Change a several of *-reference ports to install in LOCALBASE instead X11BASE, but only two gtkmm*-reference couldn't be change at the moment. Bump the PORTREVISION for change prefix. Discussed with: marcus --- x11/libgnome/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'x11/libgnome') diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index ecc70c77de8..7f7d6cd64ba 100644 --- a/x11/libgnome/Makefile +++ b/x11/libgnome/Makefile @@ -8,6 +8,7 @@ PORTNAME= libgnome PORTVERSION= 2.14.1 +PORTREVISION?= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -17,22 +18,19 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Libraries for GNOME, a GNU desktop environment USE_BZIP2= yes -PREFIX?= ${X11BASE} .if !defined(REFERENCE_PORT) -PORTREVISION= 1 - BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper USE_GETTEXT= yes -USE_XLIB= yes USE_XPM= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack intlhack esound \ gnomevfs2 libxslt ltverhack referencehack USE_BISON= yes +USE_X_PREFIX= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ -- cgit