aboutsummaryrefslogtreecommitdiffstats
path: root/converters/o3read
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-04 00:12:21 +0800
committeradamw <adamw@FreeBSD.org>2014-01-04 00:12:21 +0800
commit81015c330ff506f7c0bdee1b635b9bf1159fb47a (patch)
tree8d979ce7322c8b03c4d310c7286e6659cd0bdc39 /converters/o3read
parentf7adb9400ad6412ec69e2af88ff9a812aa6d942d (diff)
downloadfreebsd-ports-gnome-81015c330ff506f7c0bdee1b635b9bf1159fb47a.tar.gz
freebsd-ports-gnome-81015c330ff506f7c0bdee1b635b9bf1159fb47a.tar.zst
freebsd-ports-gnome-81015c330ff506f7c0bdee1b635b9bf1159fb47a.zip
Convert converters to MDOCS and MEXAMPLES
Diffstat (limited to 'converters/o3read')
-rw-r--r--converters/o3read/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/o3read/Makefile b/converters/o3read/Makefile
index ef86548619d4..70d852bb908f 100644
--- a/converters/o3read/Makefile
+++ b/converters/o3read/Makefile
@@ -17,6 +17,9 @@ PORTDOCS= README COPYING ChangeLog
PLIST_FILES= bin/o3read bin/o3totxt bin/o3tohtml bin/utf8tolatin1
NO_STAGE= yes
+
+.include <bsd.port.options.mk>
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/o3read ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${PREFIX}/bin
@@ -24,7 +27,7 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/o3read.1 ${MANPREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/utf8tolatin1.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}