1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/audio/gqmpeg-devel/Makefile
Oliver Lehmann ab44d03168 move from X11BASE to LOCALBASE
bump PORTREVISION
2007-05-27 14:26:21 +00:00

62 lines
1.2 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.91.1
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Another gtk-based MP3 frontend
.if defined(WITH_MPG321)
RUN_DEPENDS+= mpg321:${PORTSDIR}/audio/mpg321
.else
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
.endif
.if !defined(WITHOUT_MOD)
RUN_DEPENDS+= xmp:${PORTSDIR}/audio/xmp
.endif
.if !defined(WITHOUT_OGG)
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
.endif
LATEST_LINK= gqmpeg-devel
USE_XLIB= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
CONFLICTS= gqmpeg-0.2*
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
.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>