aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-11-22 21:57:51 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-11-22 21:57:51 +0000
commitf83e399f8c63970c115d04d7dbfc40e3c36b1953 (patch)
tree4536ab3d95c444be6bff5cfdfeb49356443daa89 /x11-wm
parentdaac768104221950a0ecef0d41e0c4d73f86645b (diff)
downloadports-f83e399f8c63970c115d04d7dbfc40e3c36b1953.tar.gz
ports-f83e399f8c63970c115d04d7dbfc40e3c36b1953.zip
- Fix build when python symlink is not present
- Remove dependency on python2 symlink
Notes
Notes: svn path=/head/; revision=426870
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/simple-ccsm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11-wm/simple-ccsm/Makefile b/x11-wm/simple-ccsm/Makefile
index e6f880541cdf..29e4a6b147bb 100644
--- a/x11-wm/simple-ccsm/Makefile
+++ b/x11-wm/simple-ccsm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= simple-ccsm
PORTVERSION= 0.8.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
@@ -12,11 +12,14 @@ COMMENT= Python/GTK based settings manager for CompizConfig
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compizconfig-python.pc:x11-wm/compizconfig-python
-USES= gettext gmake pkgconfig python:2 tar:bzip2
+USES= gettext gmake pkgconfig python:2.7 tar:bzip2
USE_GNOME= intltool pygtk2
INSTALLS_ICONS= yes
+post-patch:
+ ${REINPLACE_CMD} 's,@python ,@${PYTHON_CMD} ,' ${WRKSRC}/Makefile
+
do-install:
@(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install --root=${STAGEDIR} --prefix=${PREFIX})