summaryrefslogtreecommitdiff
path: root/x11/py-gtk2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/py-gtk2/Makefile')
-rw-r--r--x11/py-gtk2/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/x11/py-gtk2/Makefile b/x11/py-gtk2/Makefile
index 902d6db2ec1..7d2e40be925 100644
--- a/x11/py-gtk2/Makefile
+++ b/x11/py-gtk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2009/01/10 23:13:44 adrianp Exp $
+# $NetBSD: Makefile,v 1.58 2009/01/11 00:13:44 adrianp Exp $
#
DISTNAME= pygtk-2.13.0
@@ -22,7 +22,7 @@ PKGCONFIG_OVERRIDE+= pygtk-2.0.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
USE_TOOLS+= gmake pkg-config
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+PLIST_VARS+= py25
PYTHON_VERSIONS_ACCEPTED= 25 24
@@ -32,12 +32,9 @@ BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.3
.include "../../lang/python/application.mk"
.if ${PYTHON_VERSION_DEFAULT} == "25"
-PLIST_SRC+= ${PKGDIR}/PLIST.python25
+PLIST.py25= yes
.endif
-post-build:
- ${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
-
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../math/py-Numeric/buildlink3.mk"