aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ods2
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:45:11 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:45:11 +0000
commitbbdd0cfdb3a4ae574a5a65842b3dd004765cd4fd (patch)
treee292e7393c4b4a463c51792fb621278771e0430c /sysutils/ods2
parentceb4cca9ca7bdf9b224c5ebdd0e09007eb4ad8bc (diff)
Notes
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>