diff options
author | kristerw <kristerw@pkgsrc.org> | 2003-10-03 15:57:08 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2003-10-03 15:57:08 +0000 |
commit | 48570d06b54f214bc9eb05ffd50cbf3e623f2d53 (patch) | |
tree | 3b470f7c97b4e8a13a9d19a9ef3fbfcbcc93a4d4 /misc | |
parent | 841ce6f5fbaa7fc9618ec203a54bb9444db64d89 (diff) | |
download | pkgsrc-48570d06b54f214bc9eb05ffd50cbf3e623f2d53.tar.gz |
Make the pkg install on arm (the file layout in the arm tar ball
is different from the i386 one).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dnetc/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile index 26eee4b9de9..c97875bf4f5 100644 --- a/misc/dnetc/Makefile +++ b/misc/dnetc/Makefile @@ -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 @@ DISTNAME_SunOS_sparc= dnetc-solaris-sparc 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/ |