aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-03-28 14:06:06 +0800
committerjgh <jgh@FreeBSD.org>2013-03-28 14:06:06 +0800
commitb77082a4833fd36b7099bc483442706ae9b5be74 (patch)
tree68331a48e4b77b02b6134c1769c4badfe08d2b6d
parentfa698dcb29867213deea9a26dbd200063f384675 (diff)
downloadfreebsd-ports-gnome-b77082a4833fd36b7099bc483442706ae9b5be74.tar.gz
freebsd-ports-gnome-b77082a4833fd36b7099bc483442706ae9b5be74.tar.zst
freebsd-ports-gnome-b77082a4833fd36b7099bc483442706ae9b5be74.zip
- convert doc KNOB to optionsNG
-rw-r--r--games/xmastermind/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/xmastermind/Makefile b/games/xmastermind/Makefile
index 232b6cf08f26..de2786406d5c 100644
--- a/games/xmastermind/Makefile
+++ b/games/xmastermind/Makefile
@@ -32,9 +32,11 @@ post-patch:
@${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|' ${WRKSRC}/list.h
+.include <bsd.port.options.mk>
+
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})