28466ca689
Even if those ports do not support more than one Python version, it makes it easier to depend on them. Sponsored by: Absolight
29 lines
713 B
Makefile
29 lines
713 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= roxlib
|
|
PORTVERSION= 2.0.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= SF/rox/ROX-Lib/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= rox-lib2-${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Python libraries for ROX
|
|
|
|
USES= python:2.7 shebangfix tar:bzip2
|
|
USE_PYTHON= flavors
|
|
USE_GNOME= pygtk2:run
|
|
SHEBANG_FILES= ROX-Lib2/AppRun ROX-Lib2/python/make_docs.py
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
|
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
|
@cd ${WRKSRC}/ROX-Lib2/python && ${PYTHON_CMD} make_docs.py
|
|
|
|
do-install:
|
|
${CP} -r ${WRKSRC}/ROX-Lib2 ${STAGEDIR}${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|