aboutsummaryrefslogtreecommitdiff
path: root/comms/uird/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/uird/Makefile')
-rw-r--r--comms/uird/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/uird/Makefile b/comms/uird/Makefile
index c2a64dbbe912..9bf61f00b8bd 100644
--- a/comms/uird/Makefile
+++ b/comms/uird/Makefile
@@ -21,13 +21,16 @@ PLIST_FILES= bin/uird
PORTDOCS= Documentation
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uird ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif