diff options
author | Renato Botelho <garga@FreeBSD.org> | 2007-10-15 16:38:39 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2007-10-15 16:38:39 +0000 |
commit | b131d84f272944d687fb65a8b4836f1ff8d97115 (patch) | |
tree | 8a290612a4ded52f8848a0bea28e27d56bfb5f0d | |
parent | - Update to 0.5 (diff) |
- Port was building stuffs on post-patch: target, fix it using do build: [1]
- Since i'm here, just make it respect PREFIX
PR: ports/117106 [1]
Submitted by: maintainer [1]
Notes
Notes:
svn path=/head/; revision=201508
-rw-r--r-- | security/hamachi/Makefile | 6 |
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) |