From 5d888a186c5fc0e55d435d170e7f6ce7d1b17fdf Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 21 Feb 2014 11:26:15 +0000 Subject: [PATCH] Support staging --- misc/dvorakng/Makefile | 16 ++++------------ 1 file 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 +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