blob: 50bf1dfd5d9a360edb1afd13533a91eb74511fe1 (
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
|
# Created by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
# $FreeBSD$
PORTNAME= shell-fm
PORTVERSION= 0.7
PORTEPOCH= 2
CATEGORIES= multimedia
MASTER_SITES= http://nex.scrapping.cc/shell-fm/releases/
MAINTAINER= ntarmos@cs.uoi.gr
COMMENT= A command-line client for Last.FM
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao \
mad:${PORTSDIR}/audio/libmad
USES= gmake pkgconfig
USE_BZIP2= true
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
MAN1= shell-fm.1
MANCOMPRESSED= yes
PLIST_FILES= bin/shell-fm
PORTDOCS= AUTHORS RELEASE INSTALL
PORTEXAMPLES= shell-colors.sh shell-fm-tune.sh \
unix.pl zcontrol
pre-build:
@${REINPLACE_CMD} \
-e 's/^PREFIX.*$$/\PREFIX := $$(LOCALBASE)/g' \
${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${ECHO_MSG} "installing examples to ${EXAMPLESDIR}"
. for example in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/scripts/${example} ${EXAMPLESDIR}
. endfor
.endif
.include <bsd.port.mk>
|