aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3stat
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-21 19:52:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-21 19:52:40 +0000
commitbd982008b1fb1948e54b5cba88e80f46d61564c6 (patch)
tree6c7d55a12aa6e96badabf1a49f712826fdb12bd8 /audio/mp3stat
parent9109d161804fd50a823cb9a7193cc9e5eddb27dc (diff)
downloadports-bd982008b1fb1948e54b5cba88e80f46d61564c6.tar.gz
ports-bd982008b1fb1948e54b5cba88e80f46d61564c6.zip
Notes
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 2de62d19dde5..706b2bff4421 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>