pkgsrc-WIP-changes archive

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

Add license statment to pfetch



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Wed Dec 18 10:26:11 2019 +0100
Changeset:	421513ec9d86658c6b24f9a264af6e329bc179a6

Modified Files:
	pfetch/Makefile
	pfetch/PLIST

Log Message:
Add license statment to pfetch

Added import of LICENSE.md to the Makefile

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

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

diffstat:
 pfetch/Makefile | 4 +++-
 pfetch/PLIST    | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/pfetch/Makefile b/pfetch/Makefile
index c42b6dd3a0..1d30b9bf38 100644
--- a/pfetch/Makefile
+++ b/pfetch/Makefile
@@ -14,10 +14,12 @@ USE_LANGUAGES=	# none
 
 NO_BUILD=	yes
 
-INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	bin share/doc/pfetch
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} \
 		${DESTDIR}${PREFIX}/bin/${PKGBASE}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE.md \
+		${DESTDIR}${PREFIX}/share/doc/pfetch/LICENSE.md
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/pfetch/PLIST b/pfetch/PLIST
index b39f69c24e..3dfd80ded7 100644
--- a/pfetch/PLIST
+++ b/pfetch/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/pfetch
+share/doc/pfetch/LICENSE.md


Home | Main Index | Thread Index | Old Index