pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dnetc Make the pkg install on arm (the file layou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab917cf57f47
branches:  trunk
changeset: 462473:ab917cf57f47
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Oct 03 15:57:08 2003 +0000

description:
Make the pkg install on arm (the file layout in the arm tar ball
is different from the i386 one).

diffstat:

 misc/dnetc/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 49a5a94328c8 -r ab917cf57f47 misc/dnetc/Makefile
--- a/misc/dnetc/Makefile       Fri Oct 03 15:38:46 2003 +0000
+++ b/misc/dnetc/Makefile       Fri Oct 03 15:57:08 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/09/08 10:12:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2003/10/03 15:57:08 kristerw Exp $
 
 DISTNAME=      ${DISTNAME_${OPSYS}_${MACHINE_ARCH}}
 PKGNAME=       dnetc-2.8018.472
@@ -26,13 +26,20 @@
 
 RCD_SCRIPTS=   dnetc
 
+.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "arm32"
 do-extract:
        @${MKDIR} ${WRKSRC}
        @cd ${WRKSRC}; ${GTAR} -zxf ${DISTDIR}/${DISTFILES}
+.endif
 
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnetc/
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
+       ${INSTALL_DATA} ${WRKSRC}/readme.* ${PREFIX}/share/doc/dnetc/
+       ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/dnetc/
+.else
        ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/dnetc/
+.endif
        ${INSTALL_MAN} ${WRKSRC}/dnetc.1 ${PREFIX}/man/man1/
        ${INSTALL_PROGRAM} ${WRKSRC}/dnetc ${PREFIX}/bin/
 



Home | Main Index | Thread Index | Old Index