blob: 3f72b1933f73d3adb3b4e8b5127633860c794c03 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
# Ports collection Makefile for: AmphetaDesk
# Date created: 8 April 2004
# Whom: kstailey
#
# $FreeBSD$
#
PORTNAME= amphetadesk
PORTVERSION= 0.93.1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-src-v${PORTVERSION}
MAINTAINER= kstailey@yahoo.com
COMMENT= RSS client that serves HTTP to your local web browser
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net \
${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PERL5= yes
USE_REINPLACE= yes
NO_BUILD= yes
post-extract:
@ ${INSTALL_SCRIPT} ${FILESDIR}/AmphetaDesk ${WRKSRC}
post-patch:
@ ${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 -x ${REINPLACE_CMD} -E \
-e 's|/usr/bin/perl|${PERL}|'
@ ${REINPLACE_CMD} -E -e 's|%%ADESK%%|${ADESK}|' ${WRKSRC}/AmphetaDesk
# fit in 80 colums via macro reductions
# srcs
AWRK= ${WRKSRC}/lib/AmphetaDesk
TWRK= ${WRKSRC}/lib/Text
DWRK= ${WRKSRC}/docs
IWRK= ${DWRK}/images
DATA= ${WRKSRC}/data
LIST= ${DATA}/lists/services-channels-recent.xml
TMPL= ${WRKSRC}/templates
DEFL= ${TMPL}/default
GUI= ${DEFL}/gui
DIMG =${DEFL}/images
# dests
ADESK_DOC= ${PREFIX}/share/doc/AmphetaDesk
ADESK_IMG= ${ADESK_DOC}/images
ADESK= ${SITE_PERL}/AmphetaDesk
ADESK_OS= ${ADESK}/OS
ADESK_DATA= ${ADESK}/data
ADESK_LIST= ${ADESK_DATA}/lists
ADESK_TMPL= ${ADESK}/templates
ADESK_DEFL= ${ADESK_TMPL}/default
ADESK_GUI= ${ADESK_DEFL}/gui
ADESK_DIMG= ${ADESK_DEFL}/images
do-install:
@ ${MKDIR} ${ADESK}
@ ${MKDIR} ${ADESK_OS}
@ ${MKDIR} ${ADESK_DOC}
@ ${MKDIR} ${ADESK_IMG}
@ ${MKDIR} ${ADESK_LIST}
@ ${MKDIR} ${ADESK_TMPL}
@ ${MKDIR} ${ADESK_DEFL}
@ ${MKDIR} ${ADESK_GUI}
@ ${MKDIR} ${ADESK_DIMG}
@ ${INSTALL_SCRIPT} ${WRKSRC}/AmphetaDesk ${PREFIX}/bin
@ ${INSTALL_SCRIPT} ${WRKSRC}/AmphetaDesk.pl ${ADESK}
@ ${INSTALL_DATA} ${WRKSRC}/lib/AmphetaDesk.pm ${SITE_PERL}
@ ${INSTALL_DATA} ${WRKSRC}/lib/README.txt ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/Channels.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/ChannelsList.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/MyChannels.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/Settings.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/Templates.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/Utilities.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/Versioning.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/WWW.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/WebServer.pm ${ADESK}
@ ${INSTALL_DATA} ${AWRK}/OS/Linux.pm ${ADESK_OS}
@ ${INSTALL_DATA} ${DWRK}/CHANGELOG ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/LICENSE ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/README.txt ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/TODO ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/build.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/files_and_dirs.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/finding_more.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/give_thanks.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/history.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/index.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/kudos.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/naming.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/news.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/news.xml ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/screenshots.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/skinning.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/version.txt ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/website_integration.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/whats_new.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/xml_my_services.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/xml_my_settings.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${DWRK}/xml_services_lists.html ${ADESK_DOC}
@ ${INSTALL_DATA} ${IWRK}/bkgrnd.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/fyuze.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/globe.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/livejournal.jpg ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/logo-88x31.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/logo.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/mailarchive.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/meerkat.jpg ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/moreover.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/network54.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/newsisfree.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/nwfusion.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/quicktopic.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/racingnews.jpg ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/sherch.jpg ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/snewp.jpg ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/syndic8.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/xml.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/xml_pill.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/xml_radio.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${IWRK}/yahoogroups.gif ${ADESK_IMG}
@ ${INSTALL_DATA} ${DATA}/README.txt ${ADESK_DATA}
@ ${INSTALL_DATA} ${LIST} ${ADESK_LIST}
@ ${INSTALL_DATA} ${TMPL}/README.txt ${ADESK_TMPL}
@ ${INSTALL_DATA} ${DEFL}/add_a_channel.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/index.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/my_channels.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/my_settings.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/popup.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/tpl_footer.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${DEFL}/tpl_header.html ${ADESK_DEFL}
@ ${INSTALL_DATA} ${GUI}/linux_icon.png ${ADESK_GUI}
@ ${INSTALL_DATA} ${GUI}/linux_logo.png ${ADESK_GUI}
@ ${INSTALL_DATA} ${DIMG}/bkgrnd.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/delete.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/email.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/globe.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/logo.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/xml.gif ${ADESK_DIMG}
@ ${INSTALL_DATA} ${DIMG}/xml_radio.gif ${ADESK_DIMG}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>
|