1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11-fm/rox-mime-editor/Makefile
Mathieu Arnold 8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00

33 lines
820 B
Makefile

# $FreeBSD$
PORTNAME= rox-mime-editor
PORTVERSION= 0.6
PORTREVISION= 2
CATEGORIES= x11-fm
MASTER_SITES= SF/rox/MIME-Editor/${PORTVERSION}
DISTNAME= mime-editor-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= MIME type editor for the ROX desktop
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
${PYTHON_PKGNAMEPREFIX}roxlib>=0:devel/py-roxlib@${PY_FLAVOR}
USES= python:2.7 shebangfix tar:bzip2
SHEBANG_FILES= MIME-Editor/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}/MIME-Editor/findrox.py
@${FIND} ${WRKSRC} -name *.bak -delete
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/apps
@${CP} -r ${WRKSRC}/MIME-Editor ${STAGEDIR}${PREFIX}/apps/
.include <bsd.port.mk>