svn commit: r317234 - head/multimedia/ptx-kmod
Hiroki Sato
hrs at FreeBSD.org
Fri May 3 19:10:40 UTC 2013
Author: hrs
Date: Fri May 3 19:10:39 2013
New Revision: 317234
URL: http://svnweb.freebsd.org/changeset/ports/317234
Log:
- Trim old-style header.
- Use OPTIONS_DEFINE.
Modified:
head/multimedia/ptx-kmod/Makefile
head/multimedia/ptx-kmod/pkg-descr
Modified: head/multimedia/ptx-kmod/Makefile
==============================================================================
--- head/multimedia/ptx-kmod/Makefile Fri May 3 19:08:18 2013 (r317233)
+++ head/multimedia/ptx-kmod/Makefile Fri May 3 19:10:39 2013 (r317234)
@@ -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
Modified: head/multimedia/ptx-kmod/pkg-descr
==============================================================================
--- head/multimedia/ptx-kmod/pkg-descr Fri May 3 19:08:18 2013 (r317233)
+++ head/multimedia/ptx-kmod/pkg-descr Fri May 3 19:10:39 2013 (r317234)
@@ -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
More information about the svn-ports-head
mailing list