mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
4a84c03fac
With hat: portmgr
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rox-edit
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF/rox/Edit/${PORTVERSION}
|
|
DISTNAME= edit-${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Text editor for the ROX desktop
|
|
|
|
DEPRECATED= Old, uses EOLed python27
|
|
EXPIRATION_DATE= 2020-02-16
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/Edit/Help/COPYING
|
|
|
|
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= Edit/tests/testreplace.py Edit/AppRun
|
|
NO_ARCH= yes
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
|
|
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
|
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
|
|
|
pre-install:
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
|
${WRKSRC}/Edit/findrox.py
|
|
@${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/apps
|
|
${CP} -r ${WRKSRC}/Edit ${STAGEDIR}${PREFIX}/apps/
|
|
|
|
.include <bsd.port.mk>
|