summaryrefslogtreecommitdiff
path: root/multimedia/shell-fm/Makefile
blob: 91c42dc363cf97e669df8dd429d7419857cd3577 (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
38
39
40
41
42
43
44
# New ports collection makefile for: shell-fm
# Date created:	15 December 2006
# Whom:		Nikos Ntarmos <ntarmos@ceid.upatras.gr>
#
# $FreeBSD$
#

PORTNAME=	shell-fm
PORTVERSION=	20061229
PORTREVISION=	2
CATEGORIES=	multimedia
MASTER_SITES=	http://ntarmos.dyndns.org/Software/FreeBSD/

MAINTAINER=	ntarmos@ceid.upatras.gr
COMMENT=	A command-line client for Last.FM

LIB_DEPENDS=	ao:${PORTSDIR}/audio/libao \
		mad:${PORTSDIR}/audio/libmad

USE_AUTOTOOLS=	aclocal:19 automake:19 autoheader:261 autoconf:261
AUTOMAKE_ARGS=	--add-missing --copy
ACLOCAL_ARGS=	-I m4
LDFLAGS+=	-L${LOCALBASE}/lib
CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ENV=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GCC=	3.4+

pre-configure:
	@(cd ${CONFIGURE_WRKSRC} && \
	${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})

post-install:
	@(${MKDIR} ${PREFIX}/share/examples/shell-fm && \
	${INSTALL} -m 444 ${WRKSRC}/src/shell-fm.rc-example \
		${PREFIX}/share/examples/shell-fm)

MAN1=		shell-fm.1
MANCOMPRESSED=	no

PLIST_FILES=	bin/shell-fm \
		share/examples/shell-fm/shell-fm.rc-example
PLIST_DIRS=	share/examples/shell-fm

.include <bsd.port.mk>