aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmus-post.fm/Makefile
blob: 44cc27965d401ac26fa7e659eff31a4f0cf200c0 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   post.fm
PORTVERSION=    1.0
CATEGORIES= audio
MASTER_SITES=   CENKES
PKGNAMEPREFIX=  cmus-

MAINTAINER= dhn@FreeBSD.org
COMMENT=    Last.fm submitter

RUN_DEPENDS=    p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \
        p5-Storable>=0:${PORTSDIR}/devel/p5-Storable

USES=   shebangfix perl5 tar:bzip2
USE_PERL5=  run
SUB_FILES=  pkg-message
NO_BUILD=   yes
PLIST_FILES=    libexec/${PORTNAME} %%EXAMPLESDIR%%/${PORTNAME}.conf
PLIST_DIRS= %%EXAMPLESDIR%%
SHEBANG_FILES=  ${PORTNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>