summaryrefslogtreecommitdiffstats
path: root/audio/mp3stat
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 19:52:40 +0000
committerpav <pav@FreeBSD.org>2004-08-21 19:52:40 +0000
commitea4b17cc53a4131f17c998a504b8285a96dadbeb (patch)
tree54b23ebfae533b73712fa131489b04757be9cbd9 /audio/mp3stat
parent223f573a601568e9b7c9bb3d16d8355ba2e93a4c (diff)
downloadFreeBSD-ports-ea4b17cc53a4131f17c998a504b8285a96dadbeb.zip
FreeBSD-ports-ea4b17cc53a4131f17c998a504b8285a96dadbeb.tar.gz
- Convert to OPTIONS
PR: ports/70761 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'audio/mp3stat')
-rw-r--r--audio/mp3stat/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/mp3stat/Makefile b/audio/mp3stat/Makefile
index 2de62d1..706b2bf 100644
--- a/audio/mp3stat/Makefile
+++ b/audio/mp3stat/Makefile
@@ -24,6 +24,10 @@ MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
PORTDOCS= README
PLIST_FILES= bin/mp3stat
+OPTIONS= VORBIS "Ogg/Vorbis support" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITHOUT_VORBIS)
MAKE_ARGS+= VORBIS=""
.else
@@ -31,12 +35,6 @@ LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
.endif
-pre-everything::
- @${ECHO_MSG}
- @${ECHO_MSG} "If you want to compile without Ogg/Vorbis support,"
- @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\""
- @${ECHO_MSG}
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp3stat ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@@ -44,4 +42,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud