Ticket #6730: Portfile

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

pennmush-1.8.1p4 Portfile

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