pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/lintpkgsrc



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Aug 14 13:13:52 UTC 2022

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc: Makefile
Removed Files:
        pkgsrc/pkgtools/lintpkgsrc/files: lintpkgsrc.0

Log Message:
lintpkgsrc: remove preformatted manual page

Having the preformatted manual page checked in into version control
doesn't make sense. Replacing the placeholders is an ugly hack and leads
to ugly line breaks. If the preformatted manual page is needed, the
better approach is to render it at build time, after the placeholders
have been replaced.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/pkgtools/lintpkgsrc/Makefile
cvs rdiff -u -r1.5 -r0 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.0

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

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/Makefile
diff -u pkgsrc/pkgtools/lintpkgsrc/Makefile:1.52 pkgsrc/pkgtools/lintpkgsrc/Makefile:1.53
--- pkgsrc/pkgtools/lintpkgsrc/Makefile:1.52    Sat Aug 13 12:30:00 2022
+++ pkgsrc/pkgtools/lintpkgsrc/Makefile Sun Aug 14 13:13:52 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2022/08/13 12:30:00 rillig Exp $
+# $NetBSD: Makefile,v 1.53 2022/08/14 13:13:52 rillig Exp $
 
 PKGNAME=       lintpkgsrc-2022.08.13
 CATEGORIES=    pkgtools
@@ -20,9 +20,7 @@ AUTO_MKDIRS=  yes
 
 SUBST_CLASSES+=                lp
 SUBST_STAGE.lp=                post-configure
-SUBST_FILES.lp+=       lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
-SUBST_SED.lp+=         -e 's,_\(.\)@_.M_.A_.K_.E_.C_.O_.N_.F_.@,${MAKECONF:C,(.),_\\\\1\1,g},g'
-SUBST_SED.lp+=         -e 's,_\(.\)@_.P_.R_.E_.F_.I_.X_.@,${PREFIX:C,(.),_\\\\1\1,g},g'
+SUBST_FILES.lp+=       lintpkgsrc.1 lintpkgsrc.pl
 SUBST_VARS.lp+=                MAKE
 SUBST_VARS.lp+=                MAKECONF
 SUBST_VARS.lp+=                PERL5
@@ -48,13 +46,6 @@ do-test:
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${DESTDIR}${PREFIX}/bin/lintpkgsrc
-.if !empty(MANINSTALL:Mcatinstall)
-.  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
-       ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/lintpkgsrc.1
-.  else
-       ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
-.  endif
-.endif
 .if !empty(MANINSTALL:Mmaninstall)
        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endif



Home | Main Index | Thread Index | Old Index