blob: 21fc6f1967d92ec14714318156f5ae2f5819bc48 (
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
|
# ex:ts=8
# Ports collection makefile for: podcatcher
# Date created: Sep 5, 2006
# Whom: 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}
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>
|