aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ods2
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ods2')
-rw-r--r--sysutils/ods2/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/ods2/Makefile b/sysutils/ods2/Makefile
index aaa5cbfafd6c..8c66759c61a0 100644
--- a/sysutils/ods2/Makefile
+++ b/sysutils/ods2/Makefile
@@ -18,16 +18,15 @@ MAKE_ARGS= CCFLAGS="${CFLAGS}"
PLIST_FILES= sbin/ods2
PORTDOCS= aareadme.too aareadme.txt
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \
${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>