1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/x11amp/Makefile
Pawel Pekala 21ad5f911e Allow staging as normal user
PR:		ports/186327 (patch not used)
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2014-02-02 17:14:17 +00:00

33 lines
795 B
Makefile

# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$
PORTNAME= x11amp
PORTVERSION= 0.9.b1.1
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= hrs
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/}
MAINTAINER= ports@FreeBSD.org
COMMENT= X11-based MP3 player with nice graphical interface
LICENSE= GPLv2
USE_GNOME= gtk12 esound
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
post-extract:
@${CP} ${FILESDIR}/main.xpm ${WRKSRC}/x11amp/defskin
@${CHMOD} a+x ${WRKSRC}/ltconfig
post-patch:
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
@${REINPLACE_CMD} 's|-o root -g wheel||' ${WRKSRC}/libx11amp/Makefile.in
.include <bsd.port.mk>