pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/gsed



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr 12 11:20:40 UTC 2023

Modified Files:
        pkgsrc/textproc/gsed: Makefile distinfo

Log Message:
gsed: install proper man page

The package installed a stub man page because it needs perl to generate
the proper one and perl needs sed to build, so we can't depend on it.

Copy out a version generated by a build with perl and use that.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/textproc/gsed/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/gsed/distinfo

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

Modified files:

Index: pkgsrc/textproc/gsed/Makefile
diff -u pkgsrc/textproc/gsed/Makefile:1.60 pkgsrc/textproc/gsed/Makefile:1.61
--- pkgsrc/textproc/gsed/Makefile:1.60  Wed Nov 16 10:41:36 2022
+++ pkgsrc/textproc/gsed/Makefile       Wed Apr 12 11:20:40 2023
@@ -1,11 +1,18 @@
-# $NetBSD: Makefile,v 1.60 2022/11/16 10:41:36 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2023/04/12 11:20:40 wiz Exp $
 
 DISTNAME=      sed-4.9
 PKGNAME=       g${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    textproc editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=sed/}
 EXTRACT_SUFX=  .tar.xz
 
+# Building the proper man page needs perl, but perl needs sed to build
+# When updating, please build with the following line commented in
+# and upload the new man page (doc/sed.1).
+#USE_TOOLS+=   perl
+DISTFILES+=    ${DEFAULT_DISTFILES} g${DISTNAME}.1
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.gnu.org/software/sed/sed.html
 COMMENT=       GNU implementation of sed, the POSIX stream editor
@@ -22,14 +29,13 @@ INSTALLATION_DIRS=  ${PKGGNUDIR}bin ${PKG
 # at least Solaris-2.9 has issues with grep/egrep
 USE_TOOLS+=            grep makeinfo
 
-# Prevent "Please add USE_TOOLS+=perl" warning at the end of configure phase.
-CONFIGURE_ENV+=                PERL=
-
 CONFIGURE_ARGS+=       --program-prefix=g
 
 .include "../../mk/bsd.prefs.mk"
 
 post-install:
+       ${INSTALL_DATA} ${DISTDIR}/g${DISTNAME}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sed.1
+       ${INSTALL_DATA} ${DISTDIR}/g${DISTNAME}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gsed.1
 .for g n in bin/gsed ${PKGGNUDIR}bin/sed ${PKGMANDIR}/man1/gsed.1 ${PKGGNUDIR}${PKGMANDIR}/man1/sed.1
        ${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
 .endfor

Index: pkgsrc/textproc/gsed/distinfo
diff -u pkgsrc/textproc/gsed/distinfo:1.30 pkgsrc/textproc/gsed/distinfo:1.31
--- pkgsrc/textproc/gsed/distinfo:1.30  Wed Nov 16 10:41:36 2022
+++ pkgsrc/textproc/gsed/distinfo       Wed Apr 12 11:20:40 2023
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.30 2022/11/16 10:41:36 wiz Exp $
+$NetBSD: distinfo,v 1.31 2023/04/12 11:20:40 wiz Exp $
 
+BLAKE2s (gsed-4.9.1) = da49be3990ff24471ce17cacc9174bac9defafc7561e06635988665e94367a76
+SHA512 (gsed-4.9.1) = 3194b79d852c9692e336892acf172be654123c63a6a03b36420c4515758ce4012d2c4aa0aa58b63c12b7eafbb0d17eac89ba1ff1aba4ce052026fab3a5c3de7b
+Size (gsed-4.9.1) = 10478 bytes
 BLAKE2s (sed-4.9.tar.xz) = 106e94f33309ff895f952e9200ab27817004f10fae357ad3a6d952f44932b312
 SHA512 (sed-4.9.tar.xz) = 36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc
 Size (sed-4.9.tar.xz) = 1397092 bytes



Home | Main Index | Thread Index | Old Index