1998-11-16 15:47:10 +00:00
|
|
|
# New ports collection makefile for: gqmpeg
|
|
|
|
# Date Created: 28 Oct 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
|
1998-11-16 15:47:10 +00:00
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1998-11-16 15:47:10 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= gqmpeg
|
2005-01-12 15:34:59 +00:00
|
|
|
PORTVERSION= 0.20.0
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 10
|
2005-01-12 15:34:59 +00:00
|
|
|
PORTEPOCH= 1
|
|
|
|
CATEGORIES+= audio
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF
|
1998-11-16 15:47:10 +00:00
|
|
|
|
2005-01-12 15:34:59 +00:00
|
|
|
MAINTAINER?= lyngbol@wheel.dk
|
|
|
|
COMMENT?= Another gtk-based MP3 frontend
|
|
|
|
|
2012-06-01 05:26:28 +00:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
2005-01-12 15:34:59 +00:00
|
|
|
RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools \
|
|
|
|
xmp:${PORTSDIR}/audio/xmp
|
2004-05-02 15:37:37 +00:00
|
|
|
|
2002-01-21 01:33:39 +00:00
|
|
|
.if defined(WITH_MPG321)
|
2004-05-02 15:37:37 +00:00
|
|
|
RUN_DEPENDS+= mpg321:${PORTSDIR}/audio/mpg321
|
2002-01-21 01:33:39 +00:00
|
|
|
.else
|
2004-05-02 15:37:37 +00:00
|
|
|
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
|
2002-01-21 01:33:39 +00:00
|
|
|
.endif
|
1998-11-16 15:47:10 +00:00
|
|
|
|
2005-01-12 15:34:59 +00:00
|
|
|
USE_GNOME= gdkpixbuf
|
2012-06-01 05:26:28 +00:00
|
|
|
USE_GETTEXT= yes
|
2005-01-12 15:34:59 +00:00
|
|
|
WANT_GNOME= yes
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= autoconf213 libtool
|
2000-12-24 04:11:46 +00:00
|
|
|
|
2012-06-01 05:26:28 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
2001-11-11 13:22:37 +00:00
|
|
|
|
2000-12-24 04:11:46 +00:00
|
|
|
MAN1= gqmpeg.1
|
1998-11-16 15:47:10 +00:00
|
|
|
|
2001-08-31 12:41:25 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-01-12 15:34:59 +00:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
|
|
|
USE_GNOME+= gnomeprefix gnomelibs
|
|
|
|
PKGNAMESUFFIX= -gnome
|
|
|
|
CONFIGURE_ENV+= USE_GNOME="yes"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= USE_GNOME=""
|
|
|
|
.endif
|
|
|
|
|
2002-01-21 01:33:39 +00:00
|
|
|
.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)
|
2002-07-19 14:10:42 +00:00
|
|
|
post-patch:
|
2002-07-18 13:52:33 +00:00
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \
|
2002-01-21 01:33:39 +00:00
|
|
|
${WRKSRC}/src/io_mpg123.c
|
|
|
|
.endif
|
2001-11-11 13:22:37 +00:00
|
|
|
|
2001-08-31 12:41:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|