blob: c6977b2b8c049440e41d9ad6f6de65c0389416c2 (
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
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= podcatcher
PORTVERSION= 3.1.6
CATEGORIES= multimedia ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Podcast client for the command line
USE_RUBY= yes
RUBY_VER= 1.8
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
PLIST_FILES= bin/podcatcher \
${EXAMPLESDIR_REL}/arguments.txt \
${EXAMPLESDIR_REL}/options.yaml \
${EXAMPLESDIR_REL}/subscriptions.pcast \
${EXAMPLESDIR_REL}/subscriptions.opml
PLIST_DIRS= ${EXAMPLESDIR_REL}
NO_STAGE= yes
pre-install:
@${SED} -i.bak 's,#!/usr/bin/env ruby,#!${RUBY},' ${WRKSRC}/bin/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
post-install:
@${MKDIR} ${EXAMPLESDIR} \
&& \
( cd ${WRKSRC}/demo \
&& ${COPYTREE_SHARE} \* ${EXAMPLESDIR} \
)
.include <bsd.port.mk>
|