summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 11:26:15 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 11:26:15 +0000
commit5d888a186c5fc0e55d435d170e7f6ce7d1b17fdf (patch)
tree840976051db1ab53aac0dd3aad2140f8ef52a964 /misc
parentSupport staging (diff)
Support staging
Notes
Notes: svn path=/head/; revision=345373
Diffstat (limited to 'misc')
-rw-r--r--misc/dvorakng/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile
index 7432086932a6..c3a07f4d2ab5 100644
--- a/misc/dvorakng/Makefile
+++ b/misc/dvorakng/Makefile
@@ -16,22 +16,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/dvorakng
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README TODO
-.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>