pkgsrc-WIP-changes archive

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

ufetch, final version



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Dec 17 10:11:39 2019 +0100
Changeset:	ef0b35e279db8600a6bccb697093e9b01f288e37

Modified Files:
	ufetch/Makefile
	ufetch/PLIST

Log Message:
ufetch, final version

All issues fixed. Please review and feel free to import.
Thanks to @nia, @leot and @wiz for comments.

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

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

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

diffs:
diff --git a/ufetch/Makefile b/ufetch/Makefile
index 0e5940e030..eecc46724d 100644
--- a/ufetch/Makefile
+++ b/ufetch/Makefile
@@ -13,10 +13,13 @@ LICENSE=	isc
 USE_LANGUAGES=	# none
 USE_TOOLS+=	pax
 NO_BUILD=	yes
-NO_CONFIGURE=	yes
+
+INSTALLATION_DIRS+=	share/doc/ufetch
 
 do-install:
 	cd ${WRKSRC} && mv ufetch-netbsd ufetch && \
 	${PAX} -rw ufetch ${DESTDIR}${PREFIX}/bin/
+	cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/LICENSE \
+	${DESTDIR}${PREFIX}/share/doc/ufetch/LICENSE
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/ufetch/PLIST b/ufetch/PLIST
index 550b065f10..2280bad0b5 100644
--- a/ufetch/PLIST
+++ b/ufetch/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/ufetch
+share/doc/ufetch/LICENSE


Home | Main Index | Thread Index | Old Index