41 lines
1012 B
PHP
41 lines
1012 B
PHP
|
# $OpenBSD: Makefile.inc,v 1.1.1.1 2013/04/24 18:23:39 zhuk Exp $
|
||
|
|
||
|
IGNORE_SILENT = Yes
|
||
|
COMMENT = K Desktop Environment, language localization pack
|
||
|
DISTNAME = kde-l10n-${KDE_L10N_LANG}-${MODKDE4_VERSION}
|
||
|
|
||
|
MODULES = devel/gettext
|
||
|
MODKDE4_RESOURCES = Yes
|
||
|
MODKDE4_USE = libs
|
||
|
|
||
|
.include "${.CURDIR}/../Makefile.langs"
|
||
|
|
||
|
.for L in ${ALL_LANGS}
|
||
|
SUPDISTFILES += kde-l10n-${L}-${MODKDE4_VERSION}${EXTRACT_SUFX}
|
||
|
.endfor
|
||
|
|
||
|
RUN_DEPENDS = x11/gtk+2,-guic
|
||
|
|
||
|
MASTER_SITES = ${MASTER_SITE_KDE:=stable/${MODKDE4_VERSION}/src/kde-l10n/}
|
||
|
|
||
|
KDE_LANG_STR = ${KDE_L10N_LANG} language
|
||
|
SUBST_VARS = KDE_LANG_STR
|
||
|
|
||
|
PKGDIR = ${.CURDIR}/../pkg
|
||
|
DESCR = ${PKGDIR}/DESCR
|
||
|
PLIST = ${PKGDIR}/PLIST-${KDE_L10N_LANG}
|
||
|
CHECKSUM_FILE = ${.CURDIR}/../distinfo
|
||
|
|
||
|
MODULES = devel/gettext
|
||
|
NO_TEST = Yes
|
||
|
CONFIGURE_ENV = CFLAGS=-I${PREFIX}/include \
|
||
|
LDFLAGS="-L${PREFIX}/lib -liconv -lintl"
|
||
|
|
||
|
MODKDE4_FIX_GETTEXT = Yes
|
||
|
|
||
|
post-install:
|
||
|
rm -Rf ${PREFIX}/man/${KDE_L10N_LANG}/
|
||
|
|
||
|
# XXX have to do this manually here...
|
||
|
.include "${.CURDIR}/../../Makefile.inc"
|