pkgsrc-WIP-changes archive

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

lpjs: Use upper case for distname to match upstream and set pkgname



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun May 19 10:04:51 2024 -0500
Changeset:	eda22bbafa14520813ab9417d478c673c2a3913a

Modified Files:
	lpjs/Makefile
	lpjs/distinfo

Log Message:
lpjs: Use upper case for distname to match upstream and set pkgname

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

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

diffstat:
 lpjs/Makefile | 9 ++-------
 lpjs/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 10 deletions(-)

diffs:
diff --git a/lpjs/Makefile b/lpjs/Makefile
index e1af2ef663..5bd99b8563 100644
--- a/lpjs/Makefile
+++ b/lpjs/Makefile
@@ -5,10 +5,10 @@
 #              Tue Sep 28 11:27:06 CDT 2021               #
 ###########################################################
 
-DISTNAME=	lpjs-0.0.4
+DISTNAME=	LPJS-${PKGVERSION_NOREV}
+PKGNAME=	lpjs-0.0.4
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=outpaddling/}
-GITHUB_PROJECT=	LPJS
 
 OWNER=		bacon%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/outpaddling/LPJS/
@@ -19,8 +19,6 @@ TOOL_DEPENDS=	realpath>0:../../wip/realpath
 DEPENDS=	auto-admin>=0.8.0.31:../../wip/auto-admin \
 		runas>0:../../sysutils/runas
 
-# FIXME: WRKSRC is handled differently for releases and tags
-WRKSRC=		${WRKDIR}/LPJS-${PKGVERSION_NOREV}
 # Force install with full debug info until release
 CFLAGS+=	-g
 MAKE_FLAGS+=	INSTALL_UNSTRIPPED=yes
@@ -53,9 +51,6 @@ PKG_RCD_SCRIPTS=	yes
 
 INSTALLATION_DIRS=	share/examples/lpjs
 
-pre-build:
-	cd ${WRKSRC} && ${MAKE} depend PREFIX=${PREFIX}
-
 post-install:
 	${MV} ${DESTDIR}${PREFIX}/etc/lpjs/config.sample ${DESTDIR}${EGDIR}
 
diff --git a/lpjs/distinfo b/lpjs/distinfo
index ba1c1abe82..25e8ff4279 100644
--- a/lpjs/distinfo
+++ b/lpjs/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (lpjs-0.0.4.tar.gz) = ddadaf6d3839cd7eaff313c84049f2aa04ce13b8f30a3dba54c2c6e6acc76c3c
-SHA512 (lpjs-0.0.4.tar.gz) = 3750a6492c9ee33c17e1ad09d1159866d336529fe33f461ad1670cee0b1f68eb93d10aaec37b7a512a401b13a1b91763f43f8947c5a4cbc211c3af5d32ee0176
-Size (lpjs-0.0.4.tar.gz) = 218776 bytes
+BLAKE2s (LPJS-0.0.4.tar.gz) = ddadaf6d3839cd7eaff313c84049f2aa04ce13b8f30a3dba54c2c6e6acc76c3c
+SHA512 (LPJS-0.0.4.tar.gz) = 3750a6492c9ee33c17e1ad09d1159866d336529fe33f461ad1670cee0b1f68eb93d10aaec37b7a512a401b13a1b91763f43f8947c5a4cbc211c3af5d32ee0176
+Size (LPJS-0.0.4.tar.gz) = 218776 bytes


Home | Main Index | Thread Index | Old Index