1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-10 19:54:52 +00:00
parent 4c62670551
commit b2a31cec46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350844

View File

@ -13,10 +13,9 @@ COMMENT= MIME type editor for the ROX desktop
RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:${PORTSDIR}/devel/py-roxlib
USE_BZIP2= yes
USES= tar:bzip2
USE_PYTHON= yes
NO_STAGE= yes
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
@ -27,8 +26,7 @@ pre-install:
@${FIND} ${WRKSRC} -name *.bak -delete
do-install:
@${MKDIR} ${PREFIX}/apps
@${CP} -r ${WRKSRC}/MIME-Editor ${PREFIX}/apps/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/MIME-Editor
@${MKDIR} ${STAGEDIR}${PREFIX}/apps
@${CP} -r ${WRKSRC}/MIME-Editor ${STAGEDIR}${PREFIX}/apps/
.include <bsd.port.mk>