2013-09-11 18:45:58 +02:00
|
|
|
# Created by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
|
2006-12-16 23:26:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= shell-fm
|
2009-09-19 13:34:42 +02:00
|
|
|
PORTVERSION= 0.7
|
2010-06-06 22:39:21 +02:00
|
|
|
PORTEPOCH= 2
|
2006-12-16 23:26:55 +01:00
|
|
|
CATEGORIES= multimedia
|
2009-09-19 13:34:42 +02:00
|
|
|
MASTER_SITES= http://nex.scrapping.cc/shell-fm/releases/
|
2006-12-16 23:26:55 +01:00
|
|
|
|
2009-03-14 14:45:28 +01:00
|
|
|
MAINTAINER= ntarmos@cs.uoi.gr
|
2006-12-16 23:26:55 +01:00
|
|
|
COMMENT= A command-line client for Last.FM
|
|
|
|
|
|
|
|
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao \
|
|
|
|
mad:${PORTSDIR}/audio/libmad
|
|
|
|
|
2013-09-11 18:45:58 +02:00
|
|
|
USES= gmake pkgconfig
|
2008-12-14 15:45:36 +01:00
|
|
|
USE_BZIP2= true
|
2006-12-16 23:26:55 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2008-12-14 15:45:36 +01:00
|
|
|
MAN1= shell-fm.1
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
PLIST_FILES= bin/shell-fm
|
2009-09-19 13:34:42 +02:00
|
|
|
PORTDOCS= AUTHORS RELEASE INSTALL
|
2008-12-14 15:45:36 +01:00
|
|
|
PORTEXAMPLES= shell-colors.sh shell-fm-tune.sh \
|
|
|
|
unix.pl zcontrol
|
|
|
|
|
2013-09-20 22:57:48 +02:00
|
|
|
NO_STAGE= yes
|
2008-12-14 15:45:36 +01:00
|
|
|
pre-build:
|
|
|
|
@${REINPLACE_CMD} \
|
2009-09-19 13:34:42 +02:00
|
|
|
-e 's/^PREFIX.*$$/\PREFIX := $$(LOCALBASE)/g' \
|
2008-12-14 15:45:36 +01:00
|
|
|
${WRKSRC}/Makefile
|
2006-12-16 23:26:55 +01:00
|
|
|
|
|
|
|
post-install:
|
2007-12-14 23:09:58 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-12-14 15:45:36 +01:00
|
|
|
. for doc in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
. endfor
|
2007-12-14 23:09:58 +01:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2008-12-14 15:45:36 +01:00
|
|
|
@${ECHO_MSG} "installing examples to ${EXAMPLESDIR}"
|
|
|
|
. for example in ${PORTEXAMPLES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/scripts/${example} ${EXAMPLESDIR}
|
|
|
|
. endfor
|
2007-12-14 23:09:58 +01:00
|
|
|
.endif
|
2006-12-16 23:26:55 +01:00
|
|
|
|
2007-10-04 04:01:29 +02:00
|
|
|
.include <bsd.port.mk>
|