summaryrefslogtreecommitdiff
path: root/sysutils/dfc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-18 09:06:55 +0000
committerwiz <wiz@pkgsrc.org>2017-09-18 09:06:55 +0000
commitf5872a0e3d161a958fd812d18b79e4f019bba508 (patch)
tree7c4c1784e4c7412bbc98f120380f658ef2ed69c6 /sysutils/dfc
parent6ccb39a7800a5f08afc2423ffa1e3b39b2871e74 (diff)
downloadpkgsrc-f5872a0e3d161a958fd812d18b79e4f019bba508.tar.gz
dfc: Improve nls support
From Matteo Cypriani in PR 52549.
Diffstat (limited to 'sysutils/dfc')
-rw-r--r--sysutils/dfc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/dfc/Makefile b/sysutils/dfc/Makefile
index 4ab55af676f..2bb7378b734 100644
--- a/sysutils/dfc/Makefile
+++ b/sysutils/dfc/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2017/09/16 09:30:26 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2017/09/18 09:06:55 wiz Exp $
DISTNAME= dfc-3.1.1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://projects.gw-computing.net/attachments/download/615/
# Note: the number at the end of the URL above changes for each release
@@ -19,6 +20,7 @@ MAKE_DIRS= ${PKG_SYSCONFDIR}/xdg
OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/dfc
CONF_FILES= ${EGDIR}/dfcrc ${PKG_SYSCONFDIR}/xdg/dfc/dfcrc
USE_PKGLOCALEDIR= yes
+CMAKE_ARGS+= -DLOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
CMAKE_ARGS+= -DNLS_ENABLED=true
post-install:
@@ -26,6 +28,6 @@ post-install:
${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/fr/dfcrc ${DESTDIR}${EGDIR}/dfcrc.fr
${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/nl/dfcrc ${DESTDIR}${EGDIR}/dfcrc.nl
+BUILDLINK_DEPMETHOD.gettext-tools?= build
.include "../../devel/gettext-tools/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"