summaryrefslogtreecommitdiff
path: root/misc/dnetc
diff options
context:
space:
mode:
authorkristerw <kristerw>2003-10-03 15:57:08 +0000
committerkristerw <kristerw>2003-10-03 15:57:08 +0000
commit59bea4294836ea51e39a89046e9d0ae9f2719611 (patch)
tree3b470f7c97b4e8a13a9d19a9ef3fbfcbcc93a4d4 /misc/dnetc
parent0340bf9d12e49d61896d8a30cb9210d790ddcc23 (diff)
downloadpkgsrc-59bea4294836ea51e39a89046e9d0ae9f2719611.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/dnetc')
-rw-r--r--misc/dnetc/Makefile9
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/