pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fixed PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1746a3485c42
branches:  trunk
changeset: 522725:1746a3485c42
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Dec 19 13:39:14 2006 +0000

description:
Fixed PKGMANDIR.

diffstat:

 archivers/rzip/Makefile |   7 ++++---
 archivers/zip1/Makefile |   8 ++++----
 audio/abcmidi/Makefile  |  20 ++++++++++----------
 3 files changed, 18 insertions(+), 17 deletions(-)

diffs (92 lines):

diff -r 248240f49474 -r 1746a3485c42 archivers/rzip/Makefile
--- a/archivers/rzip/Makefile   Tue Dec 19 13:28:20 2006 +0000
+++ b/archivers/rzip/Makefile   Tue Dec 19 13:39:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/14 20:58:18 adam Exp $
+# $NetBSD: Makefile,v 1.9 2006/12/19 13:39:14 rillig Exp $
 
 DISTNAME=      rzip-2.1
 CATEGORIES=    archivers
@@ -9,11 +9,12 @@
 COMMENT=       Create or extract .rz files, like gzip but smaller
 
 GNU_CONFIGURE= yes
+MAKE_FLAGS+=   INSTALL_MAN=${PREFIX}/${PKGMANDIR}
 
 post-install:
        ${LN} -f ${PREFIX}/bin/rzip ${PREFIX}/bin/runzip
-       ${RM} -f ${PREFIX}/man/man1/runzip.1
-       ${LN} -s rzip.1 ${PREFIX}/man/man1/runzip.1
+       ${RM} -f ${PREFIX}/${PKGMANDIR}/man1/runzip.1
+       ${LN} -s rzip.1 ${PREFIX}/${PKGMANDIR}/man1/runzip.1
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 248240f49474 -r 1746a3485c42 archivers/zip1/Makefile
--- a/archivers/zip1/Makefile   Tue Dec 19 13:28:20 2006 +0000
+++ b/archivers/zip1/Makefile   Tue Dec 19 13:39:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.41 2006/12/19 13:44:02 rillig Exp $
 #
 
 DISTNAME=      zip1-1.1
@@ -32,12 +32,12 @@
 MAKE_FLAGS+=   LFLAGS2=-lcompat
 .endif
 
-INSTALLATION_DIRS=     bin man/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:
        cd ${WRKSRC} && ${INSTALL_PROGRAM} zip ${PREFIX}/bin/zip1
-       cd ${WRKSRC} && ${INSTALL_MAN} zip.1 ${PREFIX}/man/man1/zip1.1
+       cd ${WRKSRC} && ${INSTALL_MAN} zip.1 ${PREFIX}/${PKGMANDIR}/man1/zip1.1
        cd ${WRKSRC} && ${INSTALL_PROGRAM} zipcloak ${PREFIX}/bin/zipcloak1
-       ${LN} -fs zip1.1 ${PREFIX}/man/man1/zipcloak1.1
+       ${LN} -fs zip1.1 ${PREFIX}/${PKGMANDIR}/man1/zipcloak1.1
 
 .include "../../mk/bsd.pkg.mk"
diff -r 248240f49474 -r 1746a3485c42 audio/abcmidi/Makefile
--- a/audio/abcmidi/Makefile    Tue Dec 19 13:28:20 2006 +0000
+++ b/audio/abcmidi/Makefile    Tue Dec 19 13:39:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/12/15 14:34:18 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2006/12/19 13:48:20 rillig Exp $
 #
 
 DISTNAME=      abcMIDI-${ABCMIDIVER}
@@ -15,24 +15,24 @@
 
 ABCMIDIVER=    2006-04-22
 
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 \
+                       share/doc/abcmidi/programming share/examples/abcmidi
+
 do-install:
        cd ${WRKSRC} && ${INSTALL_PROGRAM} abc2abc abc2midi mftext \
                midi2abc midicopy yaps ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abcmidi
        ${INSTALL_DATA} ${WRKSRC}/demo.abc ${PREFIX}/share/examples/abcmidi/
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/abcmidi
        cd ${WRKSRC}/doc && ${INSTALL_DATA} AUTHORS CHANGES \
                abcguide.txt abcmatch.txt gpl.txt history.txt readme.txt \
                yapshelp.txt ${PREFIX}/share/doc/abcmidi/
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/abcmidi/programming
        cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} abc2midi.txt \
                coding.txt midi2abc.txt split.abc yaps.txt \
                ${PREFIX}/share/doc/abcmidi/programming/
-       ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 ${PREFIX}/man/man1/
-       ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 ${PREFIX}/man/man1/
-       ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 ${PREFIX}/man/man1/
-       ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 ${PREFIX}/man/man1/
-       ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 ${PREFIX}/man/man1/
-       ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 ${PREFIX}/man/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/abc2abc.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/abc2midi.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/mftext.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/midi2abc.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/midicopy.1 ${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_MAN} ${WRKSRC}/doc/yaps.1 ${PREFIX}/${PKGMANDIR}/man1/
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index