pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/asr-manpages Why missing ${PKGMANDIR} for man5? :-)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b8ea5d167ff
branches:  trunk
changeset: 536679:2b8ea5d167ff
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Dec 20 12:24:11 2007 +0000

description:
Why missing ${PKGMANDIR} for man5? :-)
While here, add DESTDIR support.

diffstat:

 misc/asr-manpages/Makefile |  40 +++++++++++++++++++++-------------------
 1 files changed, 21 insertions(+), 19 deletions(-)

diffs (55 lines):

diff -r c04eafd3cb62 -r 2b8ea5d167ff misc/asr-manpages/Makefile
--- a/misc/asr-manpages/Makefile        Thu Dec 20 12:08:22 2007 +0000
+++ b/misc/asr-manpages/Makefile        Thu Dec 20 12:24:11 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/03/16 20:07:43 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2007/12/20 12:24:11 obache Exp $
 #
 
 DISTNAME=      asr.pages
@@ -14,25 +14,27 @@
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 DIST_SUBDIR=   ${PKGNAME_NOREV}
-INSTALLATION_DIRS=     ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 ${PKGMANDIR}/man3 man5 ${PKGMANDIR}/man8
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 ${PKGMANDIR}/man3 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
+
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 do-install:
-       ${INSTALL_MAN} ${WRKDIR}/bosskill.8     ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/c.1            ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKDIR}/chastise.3     ${PREFIX}/${PKGMANDIR}/man3
-       ${INSTALL_MAN} ${WRKDIR}/ctluser.8      ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/guru.8         ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/knife.8        ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/lart.1m        ${PREFIX}/${PKGMANDIR}/man1/lart.1
-       ${INSTALL_MAN} ${WRKDIR}/luser.8        ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/normality.5    ${PREFIX}/${PKGMANDIR}/man5
-       ${INSTALL_MAN} ${WRKDIR}/nuke.8         ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/people.2       ${PREFIX}/${PKGMANDIR}/man2
-       ${INSTALL_MAN} ${WRKDIR}/pmsd.8         ${PREFIX}/${PKGMANDIR}/man8
-       ${INSTALL_MAN} ${WRKDIR}/rtfm.1         ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKDIR}/slave.1        ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKDIR}/sysadmin.1     ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKDIR}/think.1        ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKDIR}/whack.1        ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/bosskill.8     ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/c.1            ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/chastise.3     ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
+       ${INSTALL_MAN} ${WRKDIR}/ctluser.8      ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/guru.8         ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/knife.8        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/lart.1m        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/lart.1
+       ${INSTALL_MAN} ${WRKDIR}/luser.8        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/normality.5    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${INSTALL_MAN} ${WRKDIR}/nuke.8         ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/people.2       ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
+       ${INSTALL_MAN} ${WRKDIR}/pmsd.8         ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_MAN} ${WRKDIR}/rtfm.1         ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/slave.1        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/sysadmin.1     ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/think.1        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKDIR}/whack.1        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index