svn commit: r303804 - head/x11-clocks/dclock
Jason Helfman
jgh at FreeBSD.org
Fri Sep 7 06:52:57 UTC 2012
Author: jgh
Date: Fri Sep 7 06:52:56 2012
New Revision: 303804
URL: http://svn.freebsd.org/changeset/ports/303804
Log:
- reset maintainership per maintainer
- while here adopt optionsNG
PR: 171399
Submitted by: maintainer, yasu at utahime.org
Modified:
head/x11-clocks/dclock/Makefile
Modified: head/x11-clocks/dclock/Makefile
==============================================================================
--- head/x11-clocks/dclock/Makefile Fri Sep 7 05:09:41 2012 (r303803)
+++ head/x11-clocks/dclock/Makefile Fri Sep 7 06:52:56 2012 (r303804)
@@ -17,7 +17,7 @@ PATCH_SITES= ${MASTER_SITE_DEBIAN:S,%SUB
PATCHFILES= dclock_2.1.2-8.diff.gz
PATCH_DIST_STRIP= -p1
-MAINTAINER= yasu at utahime.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= A 7-segment digital clock with some optional features
USE_IMAKE= yes
@@ -26,11 +26,13 @@ USE_XORG= ice sm x11 xext xt
WRKSRC= ${WRKDIR}/dclock
MAN1= dclock.1
-OPTIONS= SOX "Install SoX to play audio" On
+OPTIONS_DEFINE= SOX
+SOX_DESC= Install SOX to play audio
+OPTIONS_DEFAULT= SOX
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_SOX)
+.if ${PORT_OPTIONS:MSOX}
RUN_DEPENDS+= play:${PORTSDIR}/audio/sox
.endif
@@ -48,7 +50,7 @@ post-install:
.for f in bell.wav digital.wav
${INSTALL_DATA} ${WRKSRC}/sounds/${f} ${DATADIR}/sounds
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
More information about the svn-ports-head
mailing list