aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-07 04:18:12 +0800
committerantoine <antoine@FreeBSD.org>2014-02-07 04:18:12 +0800
commit6cb308d2b95824c3814e0926086fb4b59a55a353 (patch)
tree45d19c8c55bb6c28b2c13fd042b9f717cfa5cf9f
parent6889e31b5455fddad3222048c6099e8d039e91f3 (diff)
downloadfreebsd-ports-gnome-6cb308d2b95824c3814e0926086fb4b59a55a353.tar.gz
freebsd-ports-gnome-6cb308d2b95824c3814e0926086fb4b59a55a353.tar.zst
freebsd-ports-gnome-6cb308d2b95824c3814e0926086fb4b59a55a353.zip
Stage support
-rw-r--r--security/ADMsmb/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/ADMsmb/Makefile b/security/ADMsmb/Makefile
index 5486931c442c..8f5142589563 100644
--- a/security/ADMsmb/Makefile
+++ b/security/ADMsmb/Makefile
@@ -14,14 +14,13 @@ COMMENT= Security scanner for Samba
USES= gmake
MAKE_ARGS= CC="${CC}" FLAGS1="${CFLAGS}"
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -name "*.o" -delete
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/ADMsmb
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/ADMsmb
+ ${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/ADMsmb
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/ADMsmb
.include <bsd.port.mk>