blob: dd6de1df9bb0434f39f36cd103c602b443522a77 (
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
45
46
47
48
49
50
51
|
# New ports collection makefile for: shell-fm
# Date created: 15 December 2006
# Whom: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
#
# $FreeBSD$
#
PORTNAME= shell-fm
PORTVERSION= 0.4
PORTEPOCH= 1
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}"
pre-configure:
@(cd ${CONFIGURE_WRKSRC} && \
${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_MAN} ${WRKSRC}/shell-fm.rc-example ${EXAMPLESDIR}
.endif
MAN1= shell-fm.1
MANCOMPRESSED= no
PLIST_FILES= bin/shell-fm
PORTDOCS= AUTHORS COPYING README
PORTEXAMPLES= shell-fm.rc-example
.include <bsd.port.mk>
|