aboutsummaryrefslogtreecommitdiff
path: root/converters/uulib
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:12:21 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 16:12:21 +0000
commit9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9 (patch)
tree8d979ce7322c8b03c4d310c7286e6659cd0bdc39 /converters/uulib
parentfbd9122a40a8aef04301c3d176bb2573a5e66fa6 (diff)
downloadports-9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9.tar.gz
ports-9523cfd4e2febeea0866c42e2d6d62f8a9a29dc9.zip
Convert converters to MDOCS and MEXAMPLES
Notes
Notes: svn path=/head/; revision=338556
Diffstat (limited to 'converters/uulib')
-rw-r--r--converters/uulib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index edf0e9316afc..f3f5c3e65d25 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -30,6 +30,9 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
doc/td-v3.c doc/test.txt
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
post-patch:
@${SED} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \
< ${FILESDIR}/uulib.3 > ${WRKDIR}/uulib.3
@@ -41,7 +44,7 @@ do-install:
@/usr/bin/ranlib ${PREFIX}/lib/libuu.a
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include
${INSTALL_MAN} ${WRKDIR}/uulib.3 ${MANPREFIX}/man/man3
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}