aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/celrw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/celrw/Makefile')
-rw-r--r--japanese/celrw/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/japanese/celrw/Makefile b/japanese/celrw/Makefile
index 51d845e32ccd..32d54b0d5078 100644
--- a/japanese/celrw/Makefile
+++ b/japanese/celrw/Makefile
@@ -17,7 +17,8 @@ ALL_TARGET= ${PORTNAME}
PORTDOCS= README
PLIST_FILES= bin/celrw
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
.for file in config.guess config.sub install.sh
@${RM} -f ${WRKSRC}/${file}
@@ -25,10 +26,8 @@ post-extract:
.endfor
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/celrw ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/celrw ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>