diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-01-30 03:29:15 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-01-30 03:29:15 +0000 |
commit | e4e2ab42199208f77b453112be1de21e9c6edb25 (patch) | |
tree | 7b93515e7ba4bfe4752441687db0b6d0acf29392 | |
parent | Update to 3.2 (diff) |
Add CONFLICTS from py-gtk2 and py-gtk to each other.
Reported by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Notes
Notes:
svn path=/head/; revision=99457
-rw-r--r-- | x11-toolkits/py-gtk/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gtk2/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gtk2/pkg-install | 16 |
3 files changed, 4 insertions, 16 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile index 543fe6fc1d7d..b37eaa9f8286 100644 --- a/x11-toolkits/py-gtk/Makefile +++ b/x11-toolkits/py-gtk/Makefile @@ -33,6 +33,8 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} EG_SRC_DIR= ${WRKSRC}/examples EG_DST_DIR= ${PREFIX}/share/examples/py-gtk +CONFLICTS= py*-gtk-2* + .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${EG_DST_DIR} diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile index 3de788e93d5b..0a83317ecc33 100644 --- a/x11-toolkits/py-gtk2/Makefile +++ b/x11-toolkits/py-gtk2/Makefile @@ -28,6 +28,8 @@ USE_LIBTOOL= yes EG_SRC_DIR= ${WRKSRC}/examples EG_DST_DIR= ${PREFIX}/share/examples/py-gtk +CONFLICTS= py*-gtk-0* + # # Use the same way as the Python port to determine if we want # threading support. diff --git a/x11-toolkits/py-gtk2/pkg-install b/x11-toolkits/py-gtk2/pkg-install deleted file mode 100644 index a26468bf3372..000000000000 --- a/x11-toolkits/py-gtk2/pkg-install +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -if [ -n "${PACKAGE_BUILDING}" ]; then - exit 0 -fi - -PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH} -export PATH - -if [ "$2" = "PRE-INSTALL" ]; then - if pkg_info | grep "^py-gtk-[0-9]"; then - echo "py-gtk for GTK+ 1.x was detected." - echo "This packages cannot coexist with py-gtk." - false - fi -fi |