aboutsummaryrefslogtreecommitdiffstats
path: root/comms/uird/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-04 00:06:00 +0800
committeradamw <adamw@FreeBSD.org>2014-01-04 00:06:00 +0800
commitf7adb9400ad6412ec69e2af88ff9a812aa6d942d (patch)
tree20fb46a71453f65c9a7021567c09766245990eb3 /comms/uird/Makefile
parentbd4a6eed2aba208163ce5225224ec4d4194c2ae4 (diff)
downloadfreebsd-ports-gnome-f7adb9400ad6412ec69e2af88ff9a812aa6d942d.tar.gz
freebsd-ports-gnome-f7adb9400ad6412ec69e2af88ff9a812aa6d942d.tar.zst
freebsd-ports-gnome-f7adb9400ad6412ec69e2af88ff9a812aa6d942d.zip
Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
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