aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-04 03:10:39 +0800
committerhrs <hrs@FreeBSD.org>2013-05-04 03:10:39 +0800
commiteb3386ff0aec75195e7b4ca0b4590f78d9c45257 (patch)
tree7918ebccd89cb8050c966722e222ce4a777c29d9 /multimedia
parent5676c1b33bf3678240b08ee8426a852ef163c521 (diff)
downloadfreebsd-ports-gnome-eb3386ff0aec75195e7b4ca0b4590f78d9c45257.tar.gz
freebsd-ports-gnome-eb3386ff0aec75195e7b4ca0b4590f78d9c45257.tar.zst
freebsd-ports-gnome-eb3386ff0aec75195e7b4ca0b4590f78d9c45257.zip
- Trim old-style header.
- Use OPTIONS_DEFINE.
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