freebsd-ports/archivers/rox-archive/Makefile
Antoine Brodin a021c1b8c0 - Those ports fail to build with python3
- Add some explicit FLAVOR to dependencies where needed
2017-12-10 20:48:45 +00:00

33 lines
804 B
Makefile

# $FreeBSD$
PORTNAME= rox-archive
PORTVERSION= 2.3
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/rox/Archive/${PORTVERSION}
DISTNAME= archive-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Archive management tool for the ROX desktop
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
${PYTHON_PKGNAMEPREFIX}roxlib>=0:devel/py-roxlib
USES= python:2.7 shebangfix tar:bzip2
NO_ARCH= yes
SHEBANG_FILES= Archive/AppRun
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
pre-install:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/Archive/findrox.py
@${FIND} ${WRKSRC} -name *.bak -delete
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/apps
${CP} -r ${WRKSRC}/Archive ${STAGEDIR}${PREFIX}/apps/
.include <bsd.port.mk>