aboutsummaryrefslogtreecommitdiff
path: root/net/uplog
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2013-12-27 19:47:35 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2013-12-27 19:47:35 +0000
commit37f97ba9253cd819814f02b031e1bf2612c3f65f (patch)
treeaeea0e0808d31d98956d304bacfaf0a1ab60ff0c /net/uplog
parent6c971867a61fe1762484d929e3eef91aff562cef (diff)
downloadports-37f97ba9253cd819814f02b031e1bf2612c3f65f.tar.gz
ports-37f97ba9253cd819814f02b031e1bf2612c3f65f.zip
Notes
Diffstat (limited to 'net/uplog')
-rw-r--r--net/uplog/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/uplog/Makefile b/net/uplog/Makefile
index 76f5db2178a7..d4f85aa18277 100644
--- a/net/uplog/Makefile
+++ b/net/uplog/Makefile
@@ -16,17 +16,18 @@ CPPFLAGS+= -I${LOCALBASE}/include
PORTDOCS= README
PLIST_FILES= bin/uplog
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e \
's|#include <malloc.h>||g' \
${WRKSRC}/${PORTNAME}.c
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif