pkgsrc-WIP-changes archive

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

Fix rc.d script and Makefile generate-frontend target



Module Name:	pkgsrc-wip
Committed By:	bkrawczyk <bbartlomiej%gmail.com@localhost>
Pushed By:	bkrawczyk
Date:		Wed Mar 17 19:14:48 2021 +0100
Changeset:	eb7cc9d49c028ad33d36128c86a3a98c26578ef3

Modified Files:
	adguardhome/Makefile
	adguardhome/files/adguardhome.sh

Log Message:
Fix rc.d script and Makefile generate-frontend target

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

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

diffstat:
 adguardhome/Makefile             | 2 +-
 adguardhome/files/adguardhome.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/adguardhome/Makefile b/adguardhome/Makefile
index cc2f0bf54a..76c5ffb6df 100644
--- a/adguardhome/Makefile
+++ b/adguardhome/Makefile
@@ -54,7 +54,7 @@ do-install:
 generate-frontend:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm --prefix client ci
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm --prefix client run build-prod
-	cd ${WRKDIR} && ${TAR} -zcf ${WRKDIR}/${PKGNAME_NOREV}-frontend.tar.gz ${PKGNAME_NOREV}/build
+	cd ${WRKDIR} && ${TAR} -zcf ${WRKDIR}/${PKGNAME_NOREV}-frontend.tar.gz AdGuardHome-${DISTNAME:S,^v,,}/build
 	@${ECHO} "Now upload ${WRKDIR}/${PKGNAME_NOREV}-frontend.tar.gz to LOCAL_PORTS"
 
 .include "../../mk/bsd.prefs.mk"
diff --git a/adguardhome/files/adguardhome.sh b/adguardhome/files/adguardhome.sh
index a2e70006a5..c7a312a072 100644
--- a/adguardhome/files/adguardhome.sh
+++ b/adguardhome/files/adguardhome.sh
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 
-# PROVIDE: lldpd
+# PROVIDE: adguardhome
 # REQUIRE: DAEMON
 # BEFORE:  LOGIN
 


Home | Main Index | Thread Index | Old Index