aboutsummaryrefslogtreecommitdiff
path: root/security/hamachi
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-10-15 16:38:39 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-10-15 16:38:39 +0000
commitb131d84f272944d687fb65a8b4836f1ff8d97115 (patch)
tree8a290612a4ded52f8848a0bea28e27d56bfb5f0d /security/hamachi
parent627208d7bbb2a7b321c99c960121cd9287bfa1d2 (diff)
downloadports-b131d84f272944d687fb65a8b4836f1ff8d97115.tar.gz
ports-b131d84f272944d687fb65a8b4836f1ff8d97115.zip
Notes
Diffstat (limited to 'security/hamachi')
-rw-r--r--security/hamachi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/hamachi/Makefile b/security/hamachi/Makefile
index 5d771f47d9ee..8d60360b5506 100644
--- a/security/hamachi/Makefile
+++ b/security/hamachi/Makefile
@@ -17,18 +17,20 @@ COMMENT= Fast, secure, simple VPN software with NAT-traversal
PATCH_DEPENDS= upx:${PORTSDIR}/archivers/upx
-NO_BUILD= yes
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_RC_SUBR= hamachi.sh
PLIST_FILES= bin/hamachi bin/hamachi-init sbin/hamachi-tuncfg
PORTDOCS= README CHANGES
+MAKE_ENV= HAMACHI_DST=${PREFIX}/bin TUNCFG_DST=${PREFIX}/sbin
post-patch:
${RM} -f ${WRKSRC}/tuncfg/tuncfg
+ ${LOCALBASE}/bin/upx -d ${WRKSRC}/hamachi
+
+do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/tuncfg/tuncfg ${WRKSRC}/tuncfg/tuncfg.c
- upx -d ${WRKSRC}/hamachi
post-install:
.if !defined(NOPORTDOCS)