1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +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 \ RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:${PORTSDIR}/devel/py-roxlib ${LOCALBASE}/lib/ROX-Lib2/python/rox/__init__.py:${PORTSDIR}/devel/py-roxlib
USE_BZIP2= yes USES= tar:bzip2
USE_PYTHON= yes USE_PYTHON= yes
NO_STAGE= yes
do-build: do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC} @${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC} @${PYTHON_CMD} -O -m compileall ${WRKSRC}
@ -27,8 +26,7 @@ pre-install:
@${FIND} ${WRKSRC} -name *.bak -delete @${FIND} ${WRKSRC} -name *.bak -delete
do-install: do-install:
@${MKDIR} ${PREFIX}/apps @${MKDIR} ${STAGEDIR}${PREFIX}/apps
@${CP} -r ${WRKSRC}/MIME-Editor ${PREFIX}/apps/ @${CP} -r ${WRKSRC}/MIME-Editor ${STAGEDIR}${PREFIX}/apps/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/MIME-Editor
.include <bsd.port.mk> .include <bsd.port.mk>