1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- reset maintainership per maintainer

- while here adopt optionsNG

PR:		171399
Submitted by:	maintainer, yasu@utahime.org
This commit is contained in:
Jason Helfman 2012-09-07 06:52:56 +00:00
parent 86946a142d
commit 0902061ef7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303804

View File

@ -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}