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
|
2003-01-11 03:27:18 +00:00
|
|
|
PORTVERSION= 0.19.0
|
2001-10-22 06:11:30 +00:00
|
|
|
CATEGORIES+= audio
|
2001-01-21 21:04:03 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-11-16 15:47:10 +00:00
|
|
|
|
2001-10-22 06:11:30 +00:00
|
|
|
MAINTAINER?= lyngbol@wheel.dk
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT?= Another gtk-based MP3 frontend
|
1998-11-16 15:47:10 +00:00
|
|
|
|
2002-01-21 01:33:39 +00:00
|
|
|
.if defined(WITH_MPG321)
|
|
|
|
RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321
|
|
|
|
.else
|
1998-11-16 15:47:10 +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
|
|
|
|
2002-07-18 13:52:33 +00:00
|
|
|
USE_REINPLACE= yes
|
1998-11-16 15:47:10 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-08-31 00:13:25 +00:00
|
|
|
USE_GNOME= gdkpixbuf
|
2002-09-19 17:35:53 +00:00
|
|
|
WANT_GNOME= yes
|
2000-12-24 04:11:46 +00:00
|
|
|
USE_LIBTOOL= yes
|
2001-11-11 13:22:37 +00:00
|
|
|
USE_AUTOCONF= yes
|
2000-12-24 04:11:46 +00:00
|
|
|
|
2001-11-11 13:22:37 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
|
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>
|
|
|
|
|
2002-09-19 17:35:53 +00:00
|
|
|
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
|
|
|
USE_GNOME+= gnomeprefix gnomelibs
|
|
|
|
PKGNAMESUFFIX= -gnome
|
|
|
|
CONFIGURE_ENV+= USE_GNOME="yes"
|
2003-01-01 19:34:14 +00:00
|
|
|
PLIST_SUB+= DATADIR="share/gnome"
|
2002-09-19 17:35:53 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= USE_GNOME=""
|
|
|
|
PLIST_SUB+= DATADIR="share"
|
|
|
|
.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>
|