diff options
author | garga <garga@FreeBSD.org> | 2007-10-16 00:38:39 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2007-10-16 00:38:39 +0800 |
commit | 352bcb7e2f41fe7e8f2dfcaa0b6908081ba439cf (patch) | |
tree | 58fe8c07ab7b1219d633fd38c1b120a49acd97ae /security | |
parent | 24bc7a9dff2218e83b1a9b82ad0ac1e97aee410f (diff) | |
download | freebsd-ports-gnome-352bcb7e2f41fe7e8f2dfcaa0b6908081ba439cf.tar.gz freebsd-ports-gnome-352bcb7e2f41fe7e8f2dfcaa0b6908081ba439cf.tar.zst freebsd-ports-gnome-352bcb7e2f41fe7e8f2dfcaa0b6908081ba439cf.zip |
- 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]
Diffstat (limited to 'security')
-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) |