pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/dfc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Sep 18 09:06:55 UTC 2017

Modified Files:
        pkgsrc/sysutils/dfc: Makefile

Log Message:
dfc: Improve nls support

>From Matteo Cypriani in PR 52549.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/dfc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dfc/Makefile
diff -u pkgsrc/sysutils/dfc/Makefile:1.1 pkgsrc/sysutils/dfc/Makefile:1.2
--- pkgsrc/sysutils/dfc/Makefile:1.1    Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/Makefile        Mon Sep 18 09:06:55 2017
@@ -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"



Home | Main Index | Thread Index | Old Index