aboutsummaryrefslogtreecommitdiffstats
path: root/devel/eric4/Makefile.inc
blob: 9f68a02a572971dba4edd06333766062d45cbdc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is a set of Makefile macros which allow to build the core and
# localized language packages for devel/eric4:
# french/eric4, german/eric4, russian/eric4
#
# Date created:             23 Apr 2007
# Whom:                 Boris Samorodov <bsam@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   eric4
PORTVERSION=    4.2.5
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= eric-ide
DISTNAME?=  ${PORTNAME}-i18n-${I18N_LANG}-${PORTVERSION}
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAINTAINER?=    bsam@FreeBSD.org
COMMENT=    Full featured Python and Ruby editor and IDE based on Qt4

RUN_DEPENDS?=   ${PREFIX}/bin/eric4:${PORTSDIR}/devel/eric4

I18N_LANG?= ru
INSTALL_CMD?=   install-i18n.py

USE_PYTHON= 2.4+
NO_BUILD=   yes
PLIST_FILES?=   %%PYTHON_SITELIBDIR%%/${PORTNAME}/${PORTNAME}_${I18N_LANG}.qm

do-install:
    @(cd ${WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_CMD})

DESCR=      ${.CURDIR}/../../devel/eric4/pkg-descr

.include <bsd.port.mk>