* Make GNOME support optional [1]

* Update the pkg-descr to be more inline with the COMMENT

Requested by:	obraun
This commit is contained in:
Joe Marcus Clarke 2003-06-01 00:30:05 +00:00
parent 9e74e4f1c3
commit 1ab401c487
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81793
3 changed files with 25 additions and 15 deletions

View File

@ -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>

View File

@ -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/

View File

@ -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