diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-09-07 06:52:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-09-07 06:52:56 +0000 |
commit | 0902061ef71c1c2045965ea0b973206a447148ff (patch) | |
tree | a3f4f6355584a9be93cdac5b8530dcb914f87361 /x11-clocks/dclock/Makefile | |
parent | 86946a142d4e0315a7f2ea141c6bc5a68d78e60d (diff) | |
download | ports-0902061ef71c1c2045965ea0b973206a447148ff.tar.gz ports-0902061ef71c1c2045965ea0b973206a447148ff.zip |
Notes
Diffstat (limited to 'x11-clocks/dclock/Makefile')
-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} |