diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 00:30:05 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 00:30:05 +0000 |
commit | 1ab401c4879f56c78a4aff5fc3a1af2d9c799f73 (patch) | |
tree | 74c7966fedb782f8e9def1ec84231ba0411716e1 /x11-toolkits/rep-gtk2 | |
parent | Update to 2.2.3. (diff) |
* Make GNOME support optional [1]
* Update the pkg-descr to be more inline with the COMMENT
Requested by: obraun
Notes
Notes:
svn path=/head/; revision=81793
Diffstat (limited to 'x11-toolkits/rep-gtk2')
-rw-r--r-- | x11-toolkits/rep-gtk2/Makefile | 26 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/pkg-descr | 2 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/pkg-plist | 12 |
3 files changed, 25 insertions, 15 deletions
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile index 73529da7616b..b90a7d6aa46b 100644 --- a/x11-toolkits/rep-gtk2/Makefile +++ b/x11-toolkits/rep-gtk2/Makefile @@ -7,16 +7,16 @@ PORTNAME= rep-gtk2 PORTVERSION= 0.17 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/rep-gtk/0.17 +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.17 DISTNAME= rep-gtk-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -COMMENT= GTK+ binding for rep Lisp interpreter +COMMENT= GTK+-2 binding for rep Lisp interpreter LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep @@ -25,12 +25,22 @@ PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//} USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= libgnomeui +USE_GNOME= libglade2 +WANT_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-libglade \ - --with-gnome +CONFIGURE_ARGS= --with-libglade CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_GNOME+= libgnomeui +CONFIGURE_ARGS+= --with-gnome +PKGNAMESUFFIX= -gnome +.else +CONFIGURE_ARGS+= --without-gnome +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/rep-gtk2/pkg-descr b/x11-toolkits/rep-gtk2/pkg-descr index dbf830465677..4ceb045b3fef 100644 --- a/x11-toolkits/rep-gtk2/pkg-descr +++ b/x11-toolkits/rep-gtk2/pkg-descr @@ -1,3 +1,3 @@ -GTK+ binding for rep Lisp interpreter +Rep-gtk offers GTK+-2 bindings for rep Lisp interpreter. WWW: http://rep-gtk.sourceforge.net/ diff --git a/x11-toolkits/rep-gtk2/pkg-plist b/x11-toolkits/rep-gtk2/pkg-plist index 67beac4f3519..57f4fd56e377 100644 --- a/x11-toolkits/rep-gtk2/pkg-plist +++ b/x11-toolkits/rep-gtk2/pkg-plist @@ -1,9 +1,9 @@ -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.la -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.so -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.la -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.so -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.la -libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.so +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-canvas.so +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-lib.so +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.la +%%GNOME:%%libexec/rep/%%GNUHOST%%/gui/gtk-2/gnome-ui.so libexec/rep/%%GNUHOST%%/gui/gtk-2/gtk.la libexec/rep/%%GNUHOST%%/gui/gtk-2/gtk.so libexec/rep/%%GNUHOST%%/gui/gtk-2/libglade.la |