1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/eric6/Makefile.inc
David Naylor 95a1554a33 devel/eric6: update to 17.11.1, add FLAVORS
- add FLAVORS for the following combinations [1]:
   - python: 2.7 and 3.6
   - qt: 4 and 5
 - simplify Makefiles:
   - all common macros between eric6 and the language packages are in
     devel/eric6/bsd.eric6.mk
   - devel/eric6/Makefile.inc only includes language package specific
     macros
   - eric6 specific macros are now moved into devel/eric6/Makefile
 - spelling error fixed in Makefile.inc
 - dependency on eric6 (for language packages) removed as the addition
   of flavors removes the ability to depend on a single port origin
 - install language files directly, since setup.py fails without eric6
   installed

Approved by:	portmgr (mat) [1]
Differential Revision:	https://reviews.freebsd.org/D13448
2018-01-10 18:39:31 +00:00

23 lines
733 B
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
#
# This is a set of Makefile macros which allow to build the
# localized language packages for devel/eric6:
# chinese/eric6, french/eric6, german/eric6, portuguese/eric6, russian/eric6
# devel/cs-eric6, devel/es-eric6, devel/it-eric6, devel/tr-eric6
.include "${.CURDIR}/../../devel/eric6/bsd.eric6.mk"
PKGNAMEPREFIX= ${I18N_LANG}-
DISTNAME= ${PORTNAME}-i18n-${I18N_LANG}-${PORTVERSION}
INSTALL_CMD= install-i18n.py -p ${STAGEDIR}
NO_ARCH= yes
PLIST_FILES= ${DATADIR}/i18n/${PORTNAME}_${I18N_LANG}.qm
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/i18n
${INSTALL_DATA} ${WRKSRC}/eric/i18n/${PORTNAME}_${I18N_LANG}.qm ${STAGEDIR}${DATADIR}/i18n/
.include <bsd.port.mk>