Ticket #6730: Portfile.2

File Portfile.2, 1.5 KB (added by amonre@…, 19 years ago)

pennmush-1.8.1p4 Portfile (take 2)

Line 
1# $Id: $
2PortSystem                      1.0
3
4name                            pennmush
5version                         1.8.1p4
6categories                      games
7maintainers                     amonre@amonre.org
8description                     The PennMUSH mud server
9long_description        There are a number of flavors of MUSH server freely \
10available to those who want to run their own MUSHes: TinyMUSH 3.0, \
11TinyMUSH 2.2, TinyMUX 1.6, and PennMUSH 1.7.x. TinyMUSH uses a disk-based \
12database, while PennMUSH keeps its database in the computer's memory \
13(TinyMUX can do either). This makes PennMUSH suitable for computers which \
14have plenty of memory or little disk space. From a user standpoint they \
15offer many similar features and a very similar command parser.
16homepage                        http://www.pennmush.org/
17
18master_sites            http://download.pennmush.org/Source/
19patch_sites                     http://studwww.ugent.be/~ddfreyne/pub/dports/games/pennmush/
20patchfiles                      patch-Configure.diff patch-Makefile.SH.diff
21checksums                       ${distfiles} md5 9078100d019bffa0aac2baeb0fa5f6e4\
22                                        patch-Configure.diff md5 9b3f2bf5e9b1aa3f8e203b297ab572d7\
23                                        patch-Makefile.SH.diff md5 c4075152a7b2a08dcb711d29a0c56fef
24distname                        pennmush
25distfiles                       pennmush-1.8.1p4${extract.suffix}
26
27configure.cmd           sh Configure -d
28configure.pre_args      {}
29
30pre-build                       {
31        xinstall options.h.dist options.h
32       
33        xinstall game/mushcnf.dst game/mush.cnf
34        xinstall game/aliascnf.dst game/alias.cnf
35        xinstall game/restrictcnf.dst game/restrict.cnf
36       
37        reinplace "s|GAMEDIR=|GAMEDIR=/opt/local/pennmush|g" game/restart
38}
39
40destroot.destdir        GLOBAL_INSTALL=${destroot}${prefix}/pennmush
41destroot.target         globalinstall