pkgsrc-WIP-changes archive

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

xml2tsv: fix installation of manual page



Module Name:	pkgsrc-wip
Committed By:	Roland Illig <rillig%NetBSD.org@localhost>
Pushed By:	rillig
Date:		Mon Mar 14 07:16:56 2022 +0000
Changeset:	188d65cdadf4535033247f8ebc0770cd564bce29

Modified Files:
	xml2tsv-git/Makefile

Log Message:
xml2tsv: fix installation of manual page

The package tried to install the manual page to share/man before.

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

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

diffstat:
 xml2tsv-git/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diffs:
diff --git a/xml2tsv-git/Makefile b/xml2tsv-git/Makefile
index 8fca578224..a339ad0500 100644
--- a/xml2tsv-git/Makefile
+++ b/xml2tsv-git/Makefile
@@ -16,13 +16,10 @@ WRKSRC=			${WRKDIR}/xml2tsv
 USE_LANGUAGES=	c99
 
 MAKE_FLAGS+=		PREFIX=${PREFIX:Q}
+MAKE_FLAGS+=		MANPREFIX=${PREFIX}/${PKGMANDIR}
 MAKE_FLAGS+=		CFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=		LDFLAGS=${LDFLAGS:Q}
 MAKE_FLAGS+=		CC=${CC:Q}
 
-post-install:
-	${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-	${INSTALL_MAN} ${WRKSRC}/xml2tsv.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index