summaryrefslogtreecommitdiffstats
path: root/x11/gnome2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-06-20 23:57:18 +0000
committermarcus <marcus@FreeBSD.org>2002-06-20 23:57:18 +0000
commit6324d0806c9e66a84cd0fd8608a72031521286d1 (patch)
treef54348f608f1fdbaf1acd5bdeee260729c054438 /x11/gnome2/Makefile
parentfc309ebf91e536706be965532df2b604ee82c8f9 (diff)
downloadFreeBSD-ports-6324d0806c9e66a84cd0fd8608a72031521286d1.zip
FreeBSD-ports-6324d0806c9e66a84cd0fd8608a72031521286d1.tar.gz
Make the GNOME 1.x warning package-safe.
Suggested by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Diffstat (limited to 'x11/gnome2/Makefile')
-rw-r--r--x11/gnome2/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile
index 774f6f8..0ec9b5b 100644
--- a/x11/gnome2/Makefile
+++ b/x11/gnome2/Makefile
@@ -43,20 +43,10 @@ NO_BUILD= yes
USE_PYTHON= yes
-GNOME_ONE_DESKTOP= gnomecore gnomeapplets gnomemedia gnomeutils \
- gnomecontrolcenter gtop libgtop sawfish \
- nautilus glade gedit xalf bugbuddy gnomegames
-
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
pre-everything::
- @for package in ${GNOME_ONE_DESKTOP}; do \
- if ${PKG_INFO} | ${GREP} "^$$package-[0-9]" >/dev/null 2>&1; then \
- ${ECHO_MSG} "$$package was detected on the system. This package is part of the GNOME 1.x"; \
- ${ECHO_MSG} "desktop, and cannot coexist with the GNOME 2.0 desktop."; \
- ${ECHO_MSG} ""; \
- ${ECHO_MSG} "Please deinstall the GNOME 1.x desktop before installing this port."; \
- ${FALSE}; \
- fi; \
- done
+ @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+.endif
do-install: # empty
OpenPOWER on IntegriCloud