aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ptx-kmod/Makefile9
-rw-r--r--multimedia/ptx-kmod/pkg-descr4
2 files changed, 5 insertions, 8 deletions
diff --git a/multimedia/ptx-kmod/Makefile b/multimedia/ptx-kmod/Makefile
index 6312b1adabb7..721f72f6d0ee 100644
--- a/multimedia/ptx-kmod/Makefile
+++ b/multimedia/ptx-kmod/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: ptx-kmod
-# Date created: July 2 2011
-# Whom: hrs
-#
# $FreeBSD$
-#
PORTNAME= ptx
PORTVERSION= 0.0.20111212
@@ -27,6 +22,8 @@ SUB_LIST= KMODDIR=${KMODDIR}
USE_RC_SUBR= ptx
PORTDOCS= README
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
KMODDIR= libexec/${PORTNAME}
@@ -47,7 +44,7 @@ do-install:
@${MKDIR} ${PREFIX}/${KMODDIR}
${INSTALL_KLD} ${BUILD_WRKSRC}/ptx.ko ${PREFIX}/${KMODDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tools/recptx.pl ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/multimedia/ptx-kmod/pkg-descr b/multimedia/ptx-kmod/pkg-descr
index b59060d4ac74..bcc5abf1492d 100644
--- a/multimedia/ptx-kmod/pkg-descr
+++ b/multimedia/ptx-kmod/pkg-descr
@@ -1,5 +1,5 @@
A device driver for PT1 and PT2, ISDB-S/ISDB-T tuner cards from Earth Soft.
This version is written by bsdaemon based on recpt1 utility for Linux.
-WWW: http://earthsoft.jp/PT1_PT2/index.html
-WWW: http://d.hatena.ne.jp/bsdaemon/20100429/1272556078
+WWW: http://earthsoft.jp/PT1_PT2/index.html
+WWW: http://d.hatena.ne.jp/bsdaemon/20100429/1272556078