1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/audio/gqmpeg/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

63 lines
1.3 KiB
Makefile

# New ports collection makefile for: gqmpeg
# Date Created: 28 Oct 1998
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gqmpeg
PORTVERSION= 0.20.0
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES+= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= lyngbol@wheel.dk
COMMENT?= Another gtk-based MP3 frontend
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
USE_GNOME= gdkpixbuf
WANT_GNOME= yes
USE_AUTOTOOLS= autoconf:213 libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAN1= gqmpeg.1
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
CONFIGURE_ENV+= USE_GNOME="yes"
.else
CONFIGURE_ENV+= USE_GNOME=""
.endif
.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
.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>