aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2012-02-20 22:47:17 +0000
committerDavid Thiel <lx@FreeBSD.org>2012-02-20 22:47:17 +0000
commit66dbf3c0515e675a9eb403f5662a068b58ee969e (patch)
treed1f77a2c58d8f06de0e7be1c9e8c1e1d4cabd775 /security
parent9ec4411111b9fec2ceae6458c2d74526ead1d405 (diff)
downloadports-66dbf3c0515e675a9eb403f5662a068b58ee969e.tar.gz
ports-66dbf3c0515e675a9eb403f5662a068b58ee969e.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/nacl/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/security/nacl/Makefile b/security/nacl/Makefile
index 0cfb20725264..76b5cb9857dc 100644
--- a/security/nacl/Makefile
+++ b/security/nacl/Makefile
@@ -29,9 +29,21 @@ do-install:
${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha512 \
${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/lib/*/* \
+.if ${ARCH} == "i386"
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/lib/x86/* \
${PREFIX}/lib
- @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/include/*/* \
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/include/x86/* \
${PREFIX}/include
+.elif ${ARCH} == "powerpc"
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/lib/ppc/* \
+ ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/include/ppc/* \
+ ${PREFIX}/include
+.else
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/lib/${ARCH}/* \
+ ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/include/${ARCH}/* \
+ ${PREFIX}/include
+.endif
.include <bsd.port.post.mk>