diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-06 18:05:48 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-06 18:05:48 +0000 |
commit | 53107cfba25427441f8d72cfd78d05ceb9f7f3a9 (patch) | |
tree | 0583c91c116d5e15e6ccce62042c71ef91910db4 /audio/gqmpeg | |
parent | 89a9fdc5964c46351ee89934c5a0d7b563c0954a (diff) | |
download | ports-53107cfba25427441f8d72cfd78d05ceb9f7f3a9.tar.gz ports-53107cfba25427441f8d72cfd78d05ceb9f7f3a9.zip |
Notes
Diffstat (limited to 'audio/gqmpeg')
-rw-r--r-- | audio/gqmpeg/Makefile | 27 | ||||
-rw-r--r-- | audio/gqmpeg/pkg-plist | 3 |
2 files changed, 8 insertions, 22 deletions
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile index c2fdb624bd08..f73c12ca356c 100644 --- a/audio/gqmpeg/Makefile +++ b/audio/gqmpeg/Makefile @@ -11,18 +11,17 @@ MASTER_SITES= SF MAINTAINER?= lyngbol@wheel.dk COMMENT?= Another gtk-based MP3 frontend +OPTIONS_DEFINE= MPG321 +MPG321_DESC= use mpg321 instead of mpg123 + LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools \ xmp:${PORTSDIR}/audio/xmp -.if defined(WITH_MPG321) -RUN_DEPENDS+= mpg321:${PORTSDIR}/audio/mpg321 -.else -RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 -.endif +MPG321_RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321 +MPG321_RUN_DEPENDS_OFF= mpg123:${PORTSDIR}/audio/mpg123 USE_GNOME= gdkpixbuf -NO_STAGE= yes USES= gettext USE_AUTOTOOLS= autoconf213 libtool CONFIGURE_ENV+= USE_GNOME="" @@ -30,23 +29,11 @@ CONFIGURE_ENV+= USE_GNOME="" CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 LDFLAGS+= -L${LOCALBASE}/lib -lintl -MAN1= gqmpeg.1 - -.include <bsd.port.pre.mk> - -.if !defined(WITH_MPG321) -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "If you want to use mpg321 instead of mpg123," - @${ECHO_MSG} "hit Ctrl-C right now and execute \"make WITH_MPG321=yes\"" - @${ECHO_MSG} -.endif +.include <bsd.port.options.mk> -.if defined(WITH_MPG321) post-patch: @${REINPLACE_CMD} -E -e \ 's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \ ${WRKSRC}/src/io_mpg123.c -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/audio/gqmpeg/pkg-plist b/audio/gqmpeg/pkg-plist index 50886051819f..9e996bbb444e 100644 --- a/audio/gqmpeg/pkg-plist +++ b/audio/gqmpeg/pkg-plist @@ -1,7 +1,6 @@ bin/gqmpeg bin/gqmpeg-shoutcast-plugin.sh -%%GNOME:%%share/gnome/apps/Multimedia/gqmpeg.desktop -%%GNOME:%%share/pixmaps/gqmpeg.png +man/man1/gqmpeg.1.gz share/gqmpeg/skins/README share/gqmpeg/skins/SKIN-SPECS share/gqmpeg/skins/mrclean/blue-handle-24.png |