diff options
author | antoine <antoine@FreeBSD.org> | 2016-11-23 05:57:51 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2016-11-23 05:57:51 +0800 |
commit | 73a1a9e1f3c8d4578b54e23484079bf40796f3b0 (patch) | |
tree | 4536ab3d95c444be6bff5cfdfeb49356443daa89 /x11-wm | |
parent | d0de0f7002e161ad90ca0fe022ace115415fca39 (diff) | |
download | freebsd-ports-gnome-73a1a9e1f3c8d4578b54e23484079bf40796f3b0.tar.gz freebsd-ports-gnome-73a1a9e1f3c8d4578b54e23484079bf40796f3b0.tar.zst freebsd-ports-gnome-73a1a9e1f3c8d4578b54e23484079bf40796f3b0.zip |
- Fix build when python symlink is not present
- Remove dependency on python2 symlink
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/simple-ccsm/Makefile | 7 |
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}) |