aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ptx-kmod
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-03 19:10:39 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-03 19:10:39 +0000
commitd90c5421788042c596f156ef1fe98823bcee4ae0 (patch)
tree7918ebccd89cb8050c966722e222ce4a777c29d9 /multimedia/ptx-kmod
parent53e8a6c7807142242c9236a2d3c5547d2182d981 (diff)
downloadports-d90c5421788042c596f156ef1fe98823bcee4ae0.tar.gz
ports-d90c5421788042c596f156ef1fe98823bcee4ae0.zip
- Trim old-style header.
- Use OPTIONS_DEFINE.
Notes
Notes: svn path=/head/; revision=317234
Diffstat (limited to 'multimedia/ptx-kmod')
-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