freebsd-ports/graphics/xmms-vumeter/Makefile
Antoine Brodin 550e609699 - Stage support
- New LIB_DEPENDS syntax
2014-01-09 21:26:59 +00:00

34 lines
815 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= vumeter
PORTVERSION= 0.9.2
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}plugin/Plugin%20for%20XMMS
PKGNAMEPREFIX= xmms-
MAINTAINER= ports@FreeBSD.org
COMMENT= Analog VUmeter plugin for XMMS
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
DATADIR= ${PREFIX}/share/xmms/VU_Meter_skins
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
post-install:
.for s in default default.mirror default.oldxmms
@${MKDIR} ${STAGEDIR}${DATADIR}/${s}
${INSTALL_DATA} ${WRKSRC}/skins/${s}/* ${STAGEDIR}${DATADIR}/${s}
.endfor
.include <bsd.port.mk>