summaryrefslogtreecommitdiff
path: root/audio/last-cmus/Makefile
blob: e92657ba9cb65862841fd22294174eeb888b00ef (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
# New ports collection makefile for:	last-cmus
# Date created:				30 November 2008
# Whom:					Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#

PORTNAME=	last
PORTVERSION=	1.0
CATEGORIES=	audio
MASTER_SITES=	http://last-cmus.googlecode.com/files/ \
		http://mirror.mcx2.org/
PKGNAMESUFFIX=	-cmus
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}.py
EXTRACT_SUFX=	# none

MAINTAINER=	dhn@FreeBSD.org
COMMENT=	Cmus plugin for submitting songs into last.fm

USE_PYTHON=	yes
SUB_FILES=	pkg-message
NO_BUILD=	yes
PLIST_FILES=	bin/${DISTNAME}

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${_DISTDIR}/last-cmus.py ${WRKSRC}

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
	@${CHMOD} +x ${PREFIX}/bin/${DISTNAME}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>