summaryrefslogtreecommitdiffstats
path: root/217/Makefile
blob: 84caea8801fe65abfe698f6198d2bfac02f7edc4 (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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
# New ports collection makefile for:    local/217
# Date created:             Nov 10 2006
# Whom:                 Rong-En Fan <rafan@csie.ntu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   217
PORTVERSION=    2009.10.05
PORTREVISION=   0
CATEGORIES= local
MASTER_SITES=   #
DISTFILES=  #

MAINTAINER= ta@csie.ntu.edu.tw
COMMENT=    Meta-port for all Packages in 217

LIB_DEPENDS=
RUN_DEPENDS=

NO_BUILD=   yes

PKG_CURRENT=    /tmp/pkg.current
PKG_LISTED= /tmp/pkg.listed

USE_PYTHON= yes

.include <bsd.port.pre.mk>

# System
#       smartmontools>=0:${PORTSDIR}/sysutils/smartmontools 
RUN_DEPENDS+=   pkg_rmleaves>=0:${PORTSDIR}/ports-mgmt/pkg_rmleaves \
        portconf>=0:${PORTSDIR}/ports-mgmt/portconf \
        portupgrade:${PORTSDIR}/ports-mgmt/portupgrade \
        sudo>=0:${PORTSDIR}/security/sudo \
        sshit>=0:${PORTSDIR}/security/sshit \
        portaudit>=0:${PORTSDIR}/ports-mgmt/portaudit \
        net-snmp>=0:${PORTSDIR}/net-mgmt/net-snmp \
        nagios-plugins>=0:${PORTSDIR}/net-mgmt/nagios-plugins \
        nsca-client>=0:${PORTSDIR}/net-mgmt/nsca-client \
        mbmon:${PORTSDIR}/sysutils/mbmon \
        xmbmon:${PORTSDIR}/sysutils/xmbmon \
        chkrootkit:${PORTSDIR}/security/chkrootkit \
        rsync:${PORTSDIR}/net/rsync \
        omnitty:${PORTSDIR}/net/omnitty \
        portlint:${PORTSDIR}/ports-mgmt/portlint \
        porttools>=0:${PORTSDIR}/ports-mgmt/porttools \
        zh-screen>=0:${PORTSDIR}/chinese/screen \
        zh-big5width>=0:${PORTSDIR}/chinese/big5width \
        p5-Mail-Sender>=0:${PORTSDIR}/mail/p5-Mail-Sender \
        bsdsar>=0:${PORTSDIR}/sysutils/bsdsar \
        cups-base>=0:${PORTSDIR}/print/cups-base \
        cups-pstoraster>=0:${PORTSDIR}/print/cups-pstoraster

RUN_DEPENDS+=   compat4x-i386>=0:${PORTSDIR}/misc/compat4x \
        compat5x-${ARCH}>=0:${PORTSDIR}/misc/compat5x \
        compat6x-${ARCH}>=0:${PORTSDIR}/misc/compat6x \
        compat7x-${ARCH}>=0:${PORTSDIR}/misc/compat7x

# Network
RUN_DEPENDS+=   trafshow:${PORTSDIR}/net/trafshow \
        mtr:${PORTSDIR}/net/mtr \
        lrzsz>=0:${PORTSDIR}/comms/lrzsz

# Shell
RUN_DEPENDS+=   local-shell>=0:${PORTSDIR}/local/shell

# Language / Compiler
RUN_DEPENDS+=   gcc42:${PORTSDIR}/lang/gcc42 \
        clisp:${PORTSDIR}/lang/clisp \
        expect:${PORTSDIR}/lang/expect \
        f2c:${PORTSDIR}/lang/f2c \
        ocaml:${PORTSDIR}/lang/ocaml \
        perl:${PORTSDIR}/lang/perl5.10 \
        python>=0:${PORTSDIR}/lang/python \
        ruby:${PORTSDIR}/lang/ruby18 \
        tcl>=8.4:${PORTSDIR}/lang/tcl84

# Java
RUN_DEPENDS+=   diablo-jdk>=0:${PORTSDIR}/java/diablo-jdk16

# Development
RUN_DEPENDS+=   svn:${PORTSDIR}/devel/subversion \
        svk:${PORTSDIR}/devel/svk \
        p5-VCP-Dest-svk>=0:${PORTSDIR}/devel/p5-VCP-Dest-svk \
        ddd:${PORTSDIR}/devel/ddd \
        swig>=1.3:${PORTSDIR}/devel/swig13 \
        global:${PORTSDIR}/devel/global \
        ctags>=0:${PORTSDIR}/devel/ctags \
        cscope>=0:${PORTSDIR}/devel/cscope \
        ccache>=0:${PORTSDIR}/devel/ccache \
        distcc>=0:${PORTSDIR}/devel/distcc \
        doxygen>=0:${PORTSDIR}/devel/doxygen \
        cmake>=0:${PORTSDIR}/devel/cmake

# Archiver
RUN_DEPENDS+=   rar:${PORTSDIR}/archivers/rar \
        zh-unrar>=0:${PORTSDIR}/chinese/unrar \
        zh-unzip>=0:${PORTSDIR}/chinese/unzip

# spelling, dictionary
RUN_DEPENDS+=   ispell:${PORTSDIR}/textproc/ispell \
        dict:${PORTSDIR}/textproc/dict

# security related
RUN_DEPENDS+=   gpg:${PORTSDIR}/security/gnupg \
        keychain:${PORTSDIR}/security/keychain \
        denyhosts>=0:${PORTSDIR}/security/denyhosts

# Math, Science Computing
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}numeric>=0:${PORTSDIR}/math/py-numeric \
        octave:${PORTSDIR}/math/octave \
        gsl>=0:${PORTSDIR}/math/gsl \
        ${PYTHON_PKGNAMEPREFIX}gsl>=0:${PORTSDIR}/math/py-gsl \
        fftw>=0:${PORTSDIR}/math/fftw \
        fftw3>=0:${PORTSDIR}/math/fftw3 \
        R>=0:${PORTSDIR}/math/R \
        local-matlab>=0:${PORTSDIR}/local/matlab \
        mpich2>=0:${PORTSDIR}/net/mpich2

# Biology
RUN_DEPENDS+=   p5-bioperl>=0:${PORTSDIR}/biology/p5-bioperl \
        ncbi-toolkit>=0:${PORTSDIR}/biology/ncbi-toolkit

# Entertainment
RUN_DEPENDS+=   nethack:${PORTSDIR}/games/nethack34 \
        qkmj>=0:${PORTSDIR}/games/qkmj

# Perl libraries
RUN_DEPENDS+=   p5-IO-All>=0:${PORTSDIR}/devel/p5-IO-All \
        p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \
        p5-WWW-Mechanize-Shell>=0:${PORTSDIR}/www/p5-WWW-Mechanize-Shell \
        p5-WWW-Robot>=0:${PORTSDIR}/www/p5-WWW-Robot \
        perltidy>=0:${PORTSDIR}/devel/perltidy \
        p5-Set-IntSpan>=0:${PORTSDIR}/math/p5-Set-IntSpan \
        p5-Set-Window>=0:${PORTSDIR}/math/p5-Set-Window \
        p5-Set-Infinite>=0:${PORTSDIR}/devel/p5-Set-Infinite \
        p5-Array-IntSpan>=0:${PORTSDIR}/misc/p5-Array-IntSpan \
        p5-XML-SAX-Expat>=0:${PORTSDIR}/textproc/p5-XML-SAX-Expat \
        p5-PAR>=0:${PORTSDIR}/devel/p5-PAR

# Python libraries
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:${PORTSDIR}/www/py-beautifulsoup \
        ${PYTHON_PKGNAMEPREFIX}cjson>=0:${PORTSDIR}/devel/py-cjson \
        ${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson

# database
USE_MYSQL=  yes
RUN_DEPENDS+=   p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
        p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
        p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \
        ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb \
        ${PYTHON_PKGNAMEPREFIX}pysqlite>=0:${PORTSDIR}/databases/py-pysqlite23

# Converters
RUN_DEPENDS+=   recode:${PORTSDIR}/converters/recode \
        unix2dos:${PORTSDIR}/converters/unix2dos

# Other Tools
RUN_DEPENDS+=   tidy:${PORTSDIR}/www/tidy \
        mc:${PORTSDIR}/misc/mc \
        gnuls:${PORTSDIR}/misc/gnuls \
        spim:${PORTSDIR}/emulators/spim

# X Window
RUN_DEPENDS+=   xorg>=0:${PORTSDIR}/x11/xorg \
        xorg-vfbserver>=0:${PORTSDIR}/x11-servers/xorg-vfbserver \
        wdm:${PORTSDIR}/local/wdm

# Fonts
RUN_DEPENDS+=   freefonts>=0:${PORTSDIR}/x11-fonts/freefonts \
        terminus-font>=0:${PORTSDIR}/x11-fonts/terminus-font \
        urwfonts>=0:${PORTSDIR}/x11-fonts/urwfonts \
        webfonts>=0:${PORTSDIR}/x11-fonts/webfonts \
        zh-kcfonts>=0:${PORTSDIR}/chinese/kcfonts \
        zh-arphicttf>=0:${PORTSDIR}/chinese/arphicttf \
        ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf \
        zh-mingunittf>=0:${PORTSDIR}/chinese/mingunittf

# Window Manager / Desktop Environment
RUN_DEPENDS+=   gnome2-lite>=0:${PORTSDIR}/x11/gnome2-lite \
        wmaker:${PORTSDIR}/local/windowmaker \
        enlightenment>=0:${PORTSDIR}/x11-wm/enlightenment \
        icewm:${PORTSDIR}/local/icewm \
        fvwm>=2.5:${PORTSDIR}/x11-wm/fvwm2-devel

# Input Method
RUN_DEPENDS+=   oxim:${PORTSDIR}/chinese/oxim \
        gcin:${PORTSDIR}/chinese/gcin \
        zh-scim-chewing>=0:${PORTSDIR}/chinese/scim-chewing \
        zh-scim-pinyin>=0:${PORTSDIR}/chinese/scim-pinyin \
        zh-scim-tables>=0:${PORTSDIR}/chinese/scim-tables

# Terminal
RUN_DEPENDS+=   rxvt:${PORTSDIR}/local/rxvt-devel \
        urxvt:${PORTSDIR}/x11/rxvt-unicode \
        mlterm:${PORTSDIR}/local/mlterm

# Browser
RUN_DEPENDS+=   firefox>=3:${PORTSDIR}/www/firefox3 \
        w3m-m17n>=0:${PORTSDIR}/www/w3m-m17n \
        local-w3m-config>=0:${PORTSDIR}/local/w3m-config \
        lynx>=0:${PORTSDIR}/www/lynx \
        swfdec-plugin>=0:${PORTSDIR}/www/swfdec-plugin
#nspluginwrapper>=0:${PORTSDIR}/www/nspluginwrapper

# Editor
USE_EMACS=  yes
EMACS_PORT_NAME?=   emacs22
#RUN_DEPENDS+=  openoffice.org-alllangs>=0:${PORTSDIR}/editors/openoffice.org-3
# for openoffice
#RUN_DEPENDS+=  boost>=0:${PORTSDIR}/devel/boost
RUN_DEPENDS+=   \
        zh-xemacs-mule>=0:${PORTSDIR}/chinese/xemacs21 \
        xemacs-packages>=0:${PORTSDIR}/editors/xemacs-packages \
        emacs-w3m-${EMACS_PORT_NAME}>=0:${PORTSDIR}/www/emacs-w3m \
        auctex-${EMACS_PORT_NAME}>=0:${PORTSDIR}/print/auctex \
        python-mode.el>=0:${PORTSDIR}/lang/python-mode.el \
        psvn-${EMACS_PORT_NAME}>=0:${PORTSDIR}/devel/psvn \
        vim:${PORTSDIR}/editors/vim \
        local-joe>=0:${PORTSDIR}/local/joe \
        nano:${PORTSDIR}/editors/nano

# LaTeX
RUN_DEPENDS+=   teTeX>=0:${PORTSDIR}/print/teTeX \
        latex-cjk>=0:${PORTSDIR}/print/latex-cjk \
        latex2html>=0:${PORTSDIR}/textproc/latex2html \
        hugelatex>=0:${PORTSDIR}/print/hugelatex \
        Hyperlatex>=0:${PORTSDIR}/print/hyperlatex \
        bibtool:${PORTSDIR}/textproc/bibtool \
        latex-pgf>=0:${PORTSDIR}/print/latex-pgf

# PostScript tools
RUN_DEPENDS+=   zh-bg5ps>=0:${PORTSDIR}/chinese/bg5ps \
        zh-enscript-a4>=0:${PORTSDIR}/chinese/enscript \
        a2ps-a4>=0:${PORTSDIR}/print/a2ps-a4 \
        c2ps-a4>=0:${PORTSDIR}/print/c2ps-a4 \
        mpage>=0:${PORTSDIR}/print/mpage \
        pstotext>=0:${PORTSDIR}/print/pstotext \
        psutils-a4>=0:${PORTSDIR}/print/psutils-a4

# Viewer
RUN_DEPENDS+=   acroread9>=0:${PORTSDIR}/print/acroread9
RUN_DEPENDS+=       xpdf>=0:${PORTSDIR}/graphics/xpdf \
        zh-xpdf-zhfont>=0:${PORTSDIR}/chinese/xpdf \
        gv>=0:${PORTSDIR}/print/gv \
        wv>=0:${PORTSDIR}/textproc/wv \
        djvulibre-nox11>=0:${PORTSDIR}/graphics/djvulibre-nox11 \
        xchm>=0:${PORTSDIR}/deskutils/xchm

# Image Tools
USE_SDL=    yes
RUN_DEPENDS+=   bmeps>=0:${PORTSDIR}/graphics/bmeps \
        gimp:${PORTSDIR}/graphics/gimp \
        gqview>=0:${PORTSDIR}/graphics/gqview \
        gtksee>=0:${PORTSDIR}/graphics/gtksee \
        ipe>=0:${PORTSDIR}/graphics/ipe \
        netpbm>=0:${PORTSDIR}/graphics/netpbm \
        xfig>=0:${PORTSDIR}/graphics/xfig \
        xv>=0:${PORTSDIR}/graphics/xv \
        opencv>=0:${PORTSDIR}/graphics/opencv \
        gnuplot>=0:${PORTSDIR}/math/gnuplot \
        ImageMagick>=0:${PORTSDIR}/graphics/ImageMagick \
        ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging

# FTP Client
RUN_DEPENDS+=   ftps:${PORTSDIR}/ftp/bsdftpd-ssl \
        ncftp>=3:${PORTSDIR}/ftp/ncftp3 \
        lftp:${PORTSDIR}/ftp/lftp

# Mail Client
RUN_DEPENDS+=   zh-mutt-devel>=0:${PORTSDIR}/chinese/mutt \
        alpine>=0:${PORTSDIR}/mail/alpine \
        fetchmail:${PORTSDIR}/mail/fetchmail \
        metamail>=0:${PORTSDIR}/mail/metamail \
        urlview:${PORTSDIR}/textproc/urlview
# For VM (emacs)
RUN_DEPENDS+=   stunnel:${PORTSDIR}/security/stunnel # for VM (emacs)

# News
RUN_DEPENDS+=   tin:${PORTSDIR}/chinese/tin

# Telnet
RUN_DEPENDS+=   zh-telnet>=0:${PORTSDIR}/chinese/telnet

# IRC
RUN_DEPENDS+=   zh-irssi>=0:${PORTSDIR}/chinese/irssi

# VNC
RUN_DEPENDS+=   tightvnc>=0:${PORTSDIR}/net/tightvnc

# Instant Messenger
RUN_DEPENDS+=   pidgin:${PORTSDIR}/net-im/pidgin \
        skype:${PORTSDIR}/net/skype

# Multimedia
RUN_DEPENDS+=   mplayer:${PORTSDIR}/multimedia/mplayer \
        mencoder:${PORTSDIR}/multimedia/mencoder \
        sdl_mixer>=0:${PORTSDIR}/audio/sdl_mixer

# DocApps for WindowMaker
RUN_DEPENDS+=   wmbiff>=0:${PORTSDIR}/mail/wmbiff \
        wmweather>=0:${PORTSDIR}/misc/wmweather \
        wmweather+>=0:${PORTSDIR}/misc/wmweather+ \
        wmnd>=0:${PORTSDIR}/net/wmnd \
        wmcpuload>=0:${PORTSDIR}/sysutils/wmcpuload \
        wminet>=0:${PORTSDIR}/sysutils/wminet \
        wmmemmon>=0:${PORTSDIR}/sysutils/wmmemmon \
        wmtop>=0:${PORTSDIR}/sysutils/wmtop \
        wmCalClock>=0:${PORTSDIR}/x11-clocks/wmcalclock \
        wmclock>=0:${PORTSDIR}/x11-clocks/wmclock \
        wmclockmon>=0:${PORTSDIR}/x11-clocks/wmclockmon \
        wmtime>=0:${PORTSDIR}/x11-clocks/wmtime \
        wmtimer>=0:${PORTSDIR}/x11-clocks/wmtimer \
        wmcliphist>=0:${PORTSDIR}/x11/wmcliphist \
        temperature.app>=0:${PORTSDIR}/x11/temperature.app \
        asbutton>=0:${PORTSDIR}/misc/asbutton

# Tools for enlightment
RUN_DEPENDS+=   e16utils>=0:${PORTSDIR}/x11-wm/e16utils

# Other X11 tools
RUN_DEPENDS+=   xlock:${PORTSDIR}/x11/xlockmore \
        xloadimage:${PORTSDIR}/x11/xloadimage \
        synergy>=0:${PORTSDIR}/sysutils/synergy \
        rdesktop>=0:${PORTSDIR}/net/rdesktop \
        gkrellm>=2:${PORTSDIR}/sysutils/gkrellm2 \
        pclock:${PORTSDIR}/x11-clocks/pclock

do-install:
    @${DO_NADA}

check:
    @${PKG_INFO} -qoa | ${SORT} | uniq > ${PKG_CURRENT}
    @${MAKE} all-depends-list | ${SED} 's,${PORTSDIR}/,,' | ${SORT} | uniq > ${PKG_LISTED}
    @${ECHO_CMD} "Ports are installed but not listed"
    @comm -23 ${PKG_CURRENT} ${PKG_LISTED}
    @${ECHO_CMD} ""
    @${ECHO_CMD} "Extra ports listed but not installed"
    @comm -13 ${PKG_CURRENT} ${PKG_LISTED}
    @${RM} -f ${PKG_CURRENT} ${PKG_LISTED}

.include <bsd.port.post.mk>