diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-07 09:13:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-07 09:13:46 +0000 |
commit | 30a267d3c48dc8fefc724fc2836567ee8e3e55b3 (patch) | |
tree | 77b9cef42b625156081609e43af1544d569620be /news | |
parent | 08380154f8ef872609e366d7ad67b4784cb73b0f (diff) | |
download | pkgsrc-30a267d3c48dc8fefc724fc2836567ee8e3e55b3.tar.gz |
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
Diffstat (limited to 'news')
-rw-r--r-- | news/nntpclnt/Makefile | 6 | ||||
-rw-r--r-- | news/trn/Makefile | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/news/nntpclnt/Makefile b/news/nntpclnt/Makefile index e97f3bec3c9..1270d0b135b 100644 --- a/news/nntpclnt/Makefile +++ b/news/nntpclnt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/09/26 19:00:20 christos Exp $ +# $NetBSD: Makefile,v 1.31 2007/01/07 09:14:08 rillig Exp $ DISTNAME= nntpclnt-1.6.1 PKGREVISION= 6 @@ -26,7 +26,7 @@ PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} CONFIG_SH= ${FILESDIR}/config.${OPSYS}.sh ONLY_FOR_PLATFORM= NetBSD-*-* SunOS-*-* DragonFly-*-* Linux-*-* -INSTALLATION_DIRS= bin include lib man/man3 +INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man3 do-configure: ${SED} -e s,@PREFIX@,${PREFIX}, -e s,@PKGSYSCONFDIR@,${PKG_SYSCONFDIR}, \ @@ -42,7 +42,7 @@ do-install: ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/nntp.h ${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libnntpclnt.a ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/nntpclnt.3 ${PREFIX}/man/man3/ + ${INSTALL_DATA} ${WRKSRC}/nntpclnt.3 ${PREFIX}/${PKGMANDIR}/man3/ ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR} .include "../../mk/bsd.pkg.mk" diff --git a/news/trn/Makefile b/news/trn/Makefile index 3884d820859..cf86a0b4cfc 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2006/03/04 21:30:26 jlam Exp $ +# $NetBSD: Makefile,v 1.27 2007/01/07 09:14:08 rillig Exp $ DISTNAME= trn-4.0-test76 PKGNAME= trn-4.76 @@ -71,9 +71,9 @@ CONFIGURE_ARGS+= -d -e -D bin=${PREFIX:Q}/bin \ -D useinews=${PREFIX:Q}'/bin/inews' post-install: - @${RM} -f ${PREFIX}/bin/rn ${PREFIX}/man/man1/rn.1 \ - ${PREFIX}/man/man1/rn.1.gz + @${RM} -f ${PREFIX}/bin/rn ${PREFIX}/${PKGMANDIR}/man1/rn.1 \ + ${PREFIX}/${PKGMANDIR}/man1/rn.1.gz @${LN} -s trn ${PREFIX}/bin/rn - @${LN} -s trn.1 ${PREFIX}/man/man1/rn.1 + @${LN} -s trn.1 ${PREFIX}/${PKGMANDIR}/man1/rn.1 .include "../../mk/bsd.pkg.mk" |