pkgsrc-WIP-changes archive

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

stagit: update to 0.9.1, point HOMEPAGE / MASTER_SITES upstream and use the SUBST framework.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Sun Feb 24 22:35:42 2019 +0100
Changeset:	9e27c84677852f7a11f44bcdf604e3c0fa068a1a

Modified Files:
	stagit/Makefile
	stagit/distinfo
	stagit/patches/patch-config.mk

Log Message:
stagit: update to 0.9.1, point HOMEPAGE / MASTER_SITES upstream and use the SUBST framework.

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

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

diffstat:
 stagit/Makefile                | 14 +++++++++++---
 stagit/distinfo                |  9 ++++-----
 stagit/patches/patch-config.mk | 15 ---------------
 3 files changed, 15 insertions(+), 23 deletions(-)

diffs:
diff --git a/stagit/Makefile b/stagit/Makefile
index 1b4abad84f..b97713e41e 100644
--- a/stagit/Makefile
+++ b/stagit/Makefile
@@ -1,14 +1,22 @@
 # $NetBSD$
 
-DISTNAME=	stagit-0.8
+DISTNAME=	stagit-0.9.1
 CATEGORIES=	www
-MASTER_SITES=	https://dl.2f30.org/releases/
+MASTER_SITES=	https://codemadness.org/releases/stagit/
 
 MAINTAINER=	fred%statdns.com@localhost
-HOMEPAGE=	https://git.2f30.org/stagit/
+HOMEPAGE=	https://codemadness.org/git/stagit/file/README.html
 COMMENT=	Static git page generator
 LICENSE=	mit
 
+# Adjust config.mk
+SUBST_CLASSES+=         makefile
+SUBST_STAGE.makefile=   pre-configure
+SUBST_MESSAGE.makefile= Fixing config.mk
+SUBST_FILES.makefile=   config.mk
+SUBST_SED.makefile+=    -e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=    -e 's,^LDFLAGS *= ,LDFLAGS += ,'
+
 MAKE_FLAGS+=	PREFIX=${PREFIX}
 MAKE_FLAGS+=	GITINC=${PREFIX}/include
 MAKE_FLAGS+=	GITLIB=${PREFIX}/lib
diff --git a/stagit/distinfo b/stagit/distinfo
index 868cdf8fca..b76fa9334b 100644
--- a/stagit/distinfo
+++ b/stagit/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-SHA1 (stagit-0.8.tar.gz) = c62de9c522433fb36835f9abba5fece7d09349cd
-RMD160 (stagit-0.8.tar.gz) = 8331b537fdaace2ebea4c8f972ca36501c0757f7
-SHA512 (stagit-0.8.tar.gz) = e18ebb47d678d16066ac31086eef81dda15d75b3dd086bf7cecdd675044ef266aa8c66d684d04d6bca9b202c5d3c8398cea41e0bac7c34e217f572d354755f02
-Size (stagit-0.8.tar.gz) = 17378 bytes
-SHA1 (patch-config.mk) = e1858b143fe686f21722b92e4fb4301707adcd3e
+SHA1 (stagit-0.9.1.tar.gz) = 91c18d49c2a6cf15223c5f35e1785c6371c07a2a
+RMD160 (stagit-0.9.1.tar.gz) = 65d38fb22b345df8d5887dcaf53098bd8c7b779a
+SHA512 (stagit-0.9.1.tar.gz) = ddeabce2444a230b496aac15416a16480ae5a8ccbb959edd647183dea0d9d311e2142614e1edb60d21f7b68bc47704680a1a0390fed2c7fe6a91fe7cc1491f68
+Size (stagit-0.9.1.tar.gz) = 18426 bytes
diff --git a/stagit/patches/patch-config.mk b/stagit/patches/patch-config.mk
index 14f94444e4..e69de29bb2 100644
--- a/stagit/patches/patch-config.mk
+++ b/stagit/patches/patch-config.mk
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Do not overwrite LDFLAGS, so rpath is set correctly.
-
---- config.mk.orig	2018-04-08 12:24:12.000000000 +0000
-+++ config.mk
-@@ -20,7 +20,7 @@ LIBS = -L${GITLIB} -lgit2
- 
- # optimized
- CFLAGS = -O2 -std=c99 ${INCS}
--LDFLAGS = -s ${LIBS}
-+LDFLAGS += -s ${LIBS}
- 
- # optimized static
- #CFLAGS = -static -O2 -std=c99 ${INCS}


Home | Main Index | Thread Index | Old Index