pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dfc dfc: Improve nls support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ae37ec43b65
branches:  trunk
changeset: 368790:9ae37ec43b65
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Sep 18 09:06:55 2017 +0000

description:
dfc: Improve nls support

>From Matteo Cypriani in PR 52549.

diffstat:

 sysutils/dfc/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r f37d3f386438 -r 9ae37ec43b65 sysutils/dfc/Makefile
--- a/sysutils/dfc/Makefile     Mon Sep 18 07:52:08 2017 +0000
+++ b/sysutils/dfc/Makefile     Mon Sep 18 09:06:55 2017 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index