aboutsummaryrefslogtreecommitdiff
path: root/audio/x11amp/Makefile
blob: 6d41f9affe73d40925ba126334bc332824e94935 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    x11amp
# Date created:         13 Jul 1998
# Whom:                 Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	x11amp
PORTVERSION=	0.9.b1.1
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.cs.tu-berlin.de/pub/misc/x11amp/0.9/ \
		ftp://ftp.x11amp.bz.nu/x11amp/0.9/ \
		ftp://ftp.bsdfr.org/pub/FreeBSD/ports/distfiles/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b/-beta/}

MAINTAINER=	beech@alaskaparadise.com
COMMENT=	X11-based MP3 player with nice graphical interface

USE_XLIB=	yes
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}"

.include <bsd.port.pre.mk>

post-extract:
	@${CP} ${FILESDIR}/main.xpm ${WRKSRC}/x11amp/defskin
	@${CHMOD} a+x ${WRKSRC}/ltconfig

post-patch:
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig

.include <bsd.port.post.mk>