pkgsrc/net/netcat-openbsd/patches/patch-Makefile
jlam 9c6d82a270 net/netcat-openbsd: Install manpages into ${PKGMANDIR}.
Fix the project Makefile -- it was using ${PKGMANDIR} in a
different way than how pkgsrc uses it.
2017-08-19 00:23:24 +00:00

12 lines
498 B
Text

$NetBSD: patch-Makefile,v 1.1 2017/08/19 00:23:24 jlam Exp $
--- Makefile.orig 2013-12-08 03:03:28.000000000 +0000
+++ Makefile
@@ -8,5 +8,5 @@ all:
install:
install -d ${DESTDIR}/${PREFIX}/bin/
install nc ${DESTDIR}/${PREFIX}/bin/nc
- install -d ${DESTDIR}/${PREFIX}/${PKGMANDIR}/${PKGMANDIR}1/
- install -m 0644 nc.1 ${DESTDIR}/${PREFIX}/${PKGMANDIR}/${PKGMANDIR}1/nc.1
+ install -d ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1/
+ install -m 0644 nc.1 ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1/nc.1