pkgsrc-WIP-changes archive

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

xrn: Modified X resource file handling



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Mon Aug 27 17:48:07 2018 +0200
Changeset:	d3a05e824dd9ea650279bc06a90829a7b2f30ebd

Modified Files:
	xrn/Makefile
	xrn/PLIST

Log Message:
xrn: Modified X resource file handling

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

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

diffstat:
 xrn/Makefile | 6 ++++--
 xrn/PLIST    | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/xrn/Makefile b/xrn/Makefile
index 47287e6738..068639b681 100644
--- a/xrn/Makefile
+++ b/xrn/Makefile
@@ -16,7 +16,7 @@ USE_TOOLS+=	gmake lex pkg-config yacc
 DOCDIR=		share/doc/xrn
 INSTALLATION_DIRS+=	${DOCDIR}
 
-CONF_FILES=	${WRKSRC}/XRn ${PREFIX}/etc/X11/app-defaults/XRn
+CONF_FILES=	${PREFIX}/share/examples/xrn/Xrn ${PREFIX}/etc/X11/app-defaults/XRn
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -39,7 +39,9 @@ pre-install:
 	done
 
 post-install:
-	rm ${DESTDIR}${PREFIX}/etc/X11/app-defaults/XRn
+	mkdir ${DESTDIR}${PREFIX}/share/examples
+	mkdir ${DESTDIR}${PREFIX}/share/examples/xrn
+	mv ${DESTDIR}${PREFIX}/etc/X11/app-defaults/XRn ${DESTDIR}${PREFIX}/share/examples/xrn/Xrn
 
 .include "../../mk/xaw.buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
diff --git a/xrn/PLIST b/xrn/PLIST
index d3e4c56af2..78761ef7ea 100644
--- a/xrn/PLIST
+++ b/xrn/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:10:07 joerg Exp $
+@comment $NetBSD$
 bin/xrn
 man/man1/xrn.1
 share/doc/xrn/COMMON-PROBLMS
 share/doc/xrn/COPYRIGHT
 share/doc/xrn/CREDITS
+share/examples/xrn/Xrn


Home | Main Index | Thread Index | Old Index