1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Use OPTIONS

- SIZEify distinfo
This commit is contained in:
Clement Laforet 2004-02-07 16:46:44 +00:00
parent 23a4d970cb
commit 62ee0cbbf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100260
2 changed files with 6 additions and 7 deletions

View File

@ -22,16 +22,19 @@ GNU_CONFIGURE= yes
WANT_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= GNOME "Build GUI monitor based on GNOME" Off \
GTK "Build GUI monitor based on GTK" Off
.include <bsd.port.pre.mk>
.if defined(WITH_GNOME)
USE_GNOME= libgnomeui
CONFIGURE_ARGS+= "--with-gnome"
CONFIGURE_ARGS+= --with-gnome
PKGNAMESUFFIX= -gnome
PLIST_SUB+= WITH_GNOME=""
.elif defined(WITH_GTK)
USE_GNOME= gtk20
CONFIGURE_ARGS+= "--with-gtk"
CONFIGURE_ARGS+= --with-gtk
PKGNAMESUFFIX= -gtk
PLIST_SUB+= WITH_GNOME=""
.else
@ -43,11 +46,6 @@ DOC_FILES= AUTHORS INSTALL NEWS README \
doc/protocol-1.txt doc/status-1.txt \
doc/protocol-2.txt doc/reporting-bugs.txt
pre-everything::
@${ECHO_MSG} "Available knobs for ${PORTNAME}"
@${ECHO_MSG} " - WITH_GNOME: Build GUI monitor based on GNOME"
@${ECHO_MSG} " - WITH_GTK: Build GUI monitor based on GTK"
pre-install:
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

View File

@ -1 +1,2 @@
MD5 (distcc-2.12.1.tar.bz2) = 34c465416f261b980db46a9df6d66c75
SIZE (distcc-2.12.1.tar.bz2) = 325428