1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/eric4/Makefile
Boris Samorodov 46b290066e . update to version 4.5.18;
. pet QA test: remove USES=shared-mime-info (it's not really used).
2014-01-08 09:26:46 +00:00

38 lines
1.4 KiB
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
CATEGORIES= devel python
DISTNAME= ${PORTNAME}-${PORTVERSION}
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_SITELIBDIR}/PyQt4/Qsci.so:${PORTSDIR}/devel/py-qt4-qscintilla2
RUN_DEPENDS:= ${BUILD_DEPENDS} \
${PYTHON_SITELIBDIR}/PyQt4/QtNetwork.so:${PORTSDIR}/net/py-qt4-network \
${PYTHON_SITELIBDIR}/PyQt4/QtSvg.so:${PORTSDIR}/graphics/py-qt4-svg \
${PYTHON_SITELIBDIR}/PyQt4/QtWebKit.so:${PORTSDIR}/www/py-qt4-webkit \
${PYTHON_SITELIBDIR}/PyQt4/QtHelp.so:${PORTSDIR}/devel/py-qt4-help \
${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
USES= desktop-file-utils
INSTALL_CMD= install.py -c -f eric4config.freebsd -i ${STAGEDIR}
PLIST_FILES=
SUB_FILES= eric4.desktop
OPTIONS_DEFINE= DOCS EXAMPLES
EXTRA_PATCHES=
do-configure:
${SED} -e 's,PYTHON_SITELIBDIR,${PYTHON_SITELIBDIR},' \
-e 's,PREFIX,${PREFIX},' \
-e 's,DATADIR,${DATADIR},' \
-e 's,LOCALBASE,${LOCALBASE},' \
-e 's,DOCSDIR,${DOCSDIR},' \
-e 's,EXAMPLESDIR,${EXAMPLESDIR},' \
< ${FILESDIR}/config > ${WRKSRC}/eric4config.freebsd
post-install:
${INSTALL_DATA} ${WRKDIR}/eric4.desktop ${STAGEDIR}${PREFIX}/share/applications/
${LN} -sf ${DATADIR}/icons/default/eric.png ${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DATADIR}/i18n
.include "${.CURDIR}/../../devel/eric4/Makefile.inc"