pkgsrc-WIP-changes archive

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

enchant: make enchant.ordering a CONF_FILE.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Fri Oct 26 18:43:06 2018 +0200
Changeset:	7c07f5cf3f7fe03f9f44ca8a581a1ad2982b7a67

Modified Files:
	enchant/Makefile
	enchant/PLIST

Log Message:
enchant: make enchant.ordering a CONF_FILE.

The file contains the backends to use per language. It is thus
like a system-wide config file.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7c07f5cf3f7fe03f9f44ca8a581a1ad2982b7a67

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

diffstat:
 enchant/Makefile | 7 +++++++
 enchant/PLIST    | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diffs:
diff --git a/enchant/Makefile b/enchant/Makefile
index 646950fb86..ab3d7030f7 100644
--- a/enchant/Makefile
+++ b/enchant/Makefile
@@ -18,6 +18,9 @@ USE_LIBTOOL=		yes
 PKGCONFIG_OVERRIDE+=	enchant.pc.in
 GNU_CONFIGURE=		yes
 CFLAGS.SunOS+=		-D__EXTENSIONS__
+INSTALLATION_DIRS+=	share/examples
+MAKE_DIRS+=		${PREFIX}/share/enchant
+CONF_FILES=		${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering
 
 #
 # XXX: DO NOT ADD A TEST_TARGET!
@@ -29,6 +32,10 @@ CFLAGS.SunOS+=		-D__EXTENSIONS__
 # XXX: Please investigate why this happens!
 #
 
+post-install:
+	cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering
+
+
 .include "options.mk"
 
 .include "../../devel/glib2/buildlink3.mk"
diff --git a/enchant/PLIST b/enchant/PLIST
index 51172119f4..e6e2a5738a 100644
--- a/enchant/PLIST
+++ b/enchant/PLIST
@@ -11,4 +11,4 @@ lib/libenchant-2.la
 lib/pkgconfig/enchant-2.pc
 man/man1/enchant-2.1
 man/man1/enchant-lsmod-2.1
-share/enchant/enchant.ordering
+share/examples/enchant.ordering


Home | Main Index | Thread Index | Old Index