aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-11-23 05:58:48 +0800
committerantoine <antoine@FreeBSD.org>2016-11-23 05:58:48 +0800
commit05241b2c6f3c26c25ca800e284f53a8e74f9fb84 (patch)
tree04d4f405faa8c49dc58a8e2bfe3978ccc81edb68 /x11-wm
parent73a1a9e1f3c8d4578b54e23484079bf40796f3b0 (diff)
downloadfreebsd-ports-gnome-05241b2c6f3c26c25ca800e284f53a8e74f9fb84.tar.gz
freebsd-ports-gnome-05241b2c6f3c26c25ca800e284f53a8e74f9fb84.tar.zst
freebsd-ports-gnome-05241b2c6f3c26c25ca800e284f53a8e74f9fb84.zip
- Fix build when python symlink is not present
- Remove dependency on python2 symlink
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/ccsm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11-wm/ccsm/Makefile b/x11-wm/ccsm/Makefile
index edb40aab043d..e4fe4620882b 100644
--- a/x11-wm/ccsm/Makefile
+++ b/x11-wm/ccsm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ccsm
PORTVERSION= 0.8.4
-PORTREVISION= 6
+PORTREVISION= 7
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 python:2 tar:bzip2
+USES= gettext gmake 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})