summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-10-31 09:28:35 +0000
committerobache <obache@pkgsrc.org>2011-10-31 09:28:35 +0000
commit2b1be3a3b836232ee634e2bd7097f6c6325ad97e (patch)
tree187004e5bc6bf34955ec33108933c612ea4d20ae
parentca956daf7a1d358f3892d7d184a2815aadb51a5c (diff)
downloadpkgsrc-2b1be3a3b836232ee634e2bd7097f6c6325ad97e.tar.gz
Change empty do-build target to NO_BUILD=yes, and avoid dependency on C compiler.
And no build means no need to buildlink with py-gkt2, simple DEPENDS is sufficient.
-rw-r--r--net/bittorrent-gui/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bittorrent-gui/Makefile b/net/bittorrent-gui/Makefile
index 5b31484bc61..6ede6edd41f 100644
--- a/net/bittorrent-gui/Makefile
+++ b/net/bittorrent-gui/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2011/04/22 13:44:20 obache Exp $
+# $NetBSD: Makefile,v 1.30 2011/10/31 09:28:35 obache Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -9,7 +9,8 @@ PKGREVISION= 11
COMMENT+= (GTK+ GUI)
-DEPENDS+= bittorrent>=4.4.0:../../net/bittorrent
+DEPENDS+= bittorrent>=${PKGVERSION_NOREV}:../../net/bittorrent
+DEPENDS+= ${PYPKGPREFIX}-gtk2>=2.6:../../x11/py-gtk2
PYTHON_PATCH_SCRIPTS= bittorrent maketorrent
@@ -18,7 +19,7 @@ CONFLICTS+= bittornado-gui-[0-9]*
ICONS_DIR= share/pixmaps/BitTorrent-${PKGVERSION:C/nb.*//}/icons
INSTALLATION_DIRS= bin ${ICONS_DIR} ${ICONS_DIR}/default ${ICONS_DIR}/old
-do-build: # empty
+NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bittorrent ${DESTDIR}${PREFIX}/bin
@@ -29,5 +30,4 @@ do-install:
${DESTDIR}${PREFIX}/${ICONS_DIR}/old
.include "../../lang/python/application.mk"
-.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"