aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-02-08 00:46:44 +0800
committerclement <clement@FreeBSD.org>2004-02-08 00:46:44 +0800
commit171f28bccc345c12770d9bb906b6112f4437a64b (patch)
tree31e99cca26c7fd05bb2ca6a02135c3eeded8601e
parent24c69216c1f80c804bf2d7123d6a634baabe3728 (diff)
downloadfreebsd-ports-gnome-171f28bccc345c12770d9bb906b6112f4437a64b.tar.gz
freebsd-ports-gnome-171f28bccc345c12770d9bb906b6112f4437a64b.tar.zst
freebsd-ports-gnome-171f28bccc345c12770d9bb906b6112f4437a64b.zip
- Use OPTIONS
- SIZEify distinfo
-rw-r--r--devel/distcc/Makefile12
-rw-r--r--devel/distcc/distinfo1
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 5bea57e23c81..952bdc3a3eba 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -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
diff --git a/devel/distcc/distinfo b/devel/distcc/distinfo
index 2f4261f97692..bcde814ceae2 100644
--- a/devel/distcc/distinfo
+++ b/devel/distcc/distinfo
@@ -1 +1,2 @@
MD5 (distcc-2.12.1.tar.bz2) = 34c465416f261b980db46a9df6d66c75
+SIZE (distcc-2.12.1.tar.bz2) = 325428