diff options
author | jgh <jgh@FreeBSD.org> | 2012-09-07 14:52:56 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2012-09-07 14:52:56 +0800 |
commit | 9a84a960afd7946230c5f39364586057f89189c2 (patch) | |
tree | a3f4f6355584a9be93cdac5b8530dcb914f87361 | |
parent | fc5dd289bfee6274d5f1a7214b46c1a630a10aa5 (diff) | |
download | freebsd-ports-gnome-9a84a960afd7946230c5f39364586057f89189c2.tar.gz freebsd-ports-gnome-9a84a960afd7946230c5f39364586057f89189c2.tar.zst freebsd-ports-gnome-9a84a960afd7946230c5f39364586057f89189c2.zip |
- reset maintainership per maintainer
- while here adopt optionsNG
PR: 171399
Submitted by: maintainer, yasu@utahime.org
-rw-r--r-- | x11-clocks/dclock/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-clocks/dclock/Makefile b/x11-clocks/dclock/Makefile index f6765585072c..992fc5d2ad76 100644 --- a/x11-clocks/dclock/Makefile +++ b/x11-clocks/dclock/Makefile @@ -17,7 +17,7 @@ PATCH_SITES= ${MASTER_SITE_DEBIAN:S,%SUBDIR%,pool/main/d/dclock,} PATCHFILES= dclock_2.1.2-8.diff.gz PATCH_DIST_STRIP= -p1 -MAINTAINER= yasu@utahime.org +MAINTAINER= ports@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} |