summaryrefslogtreecommitdiff
path: root/pkgtools/lintpkgsrc/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2022-08-14 13:13:52 +0000
committerrillig <rillig@pkgsrc.org>2022-08-14 13:13:52 +0000
commit57a18b92ff2b868f1fbfcfd43da458ebbe96b490 (patch)
treed31ede6482fdde316f8c5ab50037b87af114166f /pkgtools/lintpkgsrc/Makefile
parent34e57796a9a4f65ea033cd0ff93f6311fb1acbcd (diff)
downloadpkgsrc-57a18b92ff2b868f1fbfcfd43da458ebbe96b490.tar.gz
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.
Diffstat (limited to 'pkgtools/lintpkgsrc/Makefile')
-rw-r--r--pkgtools/lintpkgsrc/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/pkgtools/lintpkgsrc/Makefile b/pkgtools/lintpkgsrc/Makefile
index 3a590afd01d..0f96fa16102 100644
--- a/pkgtools/lintpkgsrc/Makefile
+++ b/pkgtools/lintpkgsrc/Makefile
@@ -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