aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:39:51 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:39:51 +0000
commit70c041438944c111ad1c4ba68604dc5e8e1b2581 (patch)
tree00e044e5433682f265b11a18be2344e9f4e4ff7b
parentf8d68c846932e9d2b9e481a201f6d2d460479522 (diff)
downloadports-70c041438944c111ad1c4ba68604dc5e8e1b2581.tar.gz
ports-70c041438944c111ad1c4ba68604dc5e8e1b2581.zip
Notes
-rw-r--r--security/trinokiller/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/trinokiller/Makefile b/security/trinokiller/Makefile
index 71a04cd73d8e..4bbd2f92f907 100644
--- a/security/trinokiller/Makefile
+++ b/security/trinokiller/Makefile
@@ -12,18 +12,16 @@ EXTRACT_SUFX= .c
MAINTAINER= ports@FreeBSD.org
COMMENT= Remotely kill trino nodes
-NO_WRKSUBDIR= yes
PLIST_FILES= sbin/trinokiller
-NO_STAGE= yes
do-extract:
- @${MKDIR} ${WRKDIR}
- @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
+ @${MKDIR} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)
+ ${CC} ${CFLAGS} -o ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}/${PREFIX}/sbin
.include <bsd.port.mk>