1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/wmauda/Makefile
Oliver Lehmann 72da69b4cc The audacious binary got renamed from audacious2 to audacious.
Reflect this change in the depending ports.
2011-04-28 05:56:54 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: wmauda
# Date created: 2007-10-30
# Whom: Renato Botelho <garga@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmauda
PORTVERSION= 0.7
PORTREVISION= 9
CATEGORIES= audio windowmaker
MASTER_SITES= http://www.netswarm.net/misc/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= garga@FreeBSD.org
COMMENT= A port of wmxmms to GTK 2.x and Audacious
BUILD_DEPENDS= audacious:${PORTSDIR}/multimedia/audacious
RUN_DEPENDS= audacious:${PORTSDIR}/multimedia/audacious
LIB_DEPENDS= mowgli.2:${PORTSDIR}/devel/libmowgli
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_GNOME= gnomeprefix gtk20
CFLAGS= `pkg-config --cflags gtk+-2.0`
MAKE_ENV= MANPAGE_DIR=${MAN1PREFIX}/man/man1 \
LIBS="`pkg-config --libs gtk+-2.0`"
PLIST_FILES= bin/wmauda \
share/pixmaps/wmauda.xpm
MAN1= wmauda.1
post-patch:
@${REINPLACE_CMD} -E 's,^(MANPAGE_DIR.*):=,\1\?=,; \
s,^(LIBS.*):=,\1\+=,; \
s,audacious,& audclient,' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,/usr/share/pixmaps,${PREFIX}/share/pixmaps,g' \
${WRKSRC}/config.h
.include <bsd.port.mk>