1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Fix build when python symlink is not present

- Remove dependency on python2 symlink
This commit is contained in:
Antoine Brodin 2016-11-22 21:57:51 +00:00
parent daac768104
commit f83e399f8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426870

View File

@ -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})