source: trunk/dports/games/wordplay/Portfile

Last change on this file was 103528, checked in by jmr@…, 4 years ago

wordplay: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 103528 2013-02-28 13:09:06Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             wordplay
6version          7.22
7revision         1
8categories       games
9license          Restrictive/Distributable
10maintainers      nomaintainer
11description      Simple program to generate anagrams
12long_description \
13        This is a program written in ANSI C that anagrams a given string. \
14        It has its own word file, but allows you to use a different one.
15homepage         http://hsvmovies.com/static_subpages/personal_orig/wordplay/
16platforms        darwin
17master_sites     ${homepage}
18distname         ${name}722
19extract.suffix   .tar.Z
20checksums        sha1 629b4a876b6be966be7ddde7ccdfaa89fc226942
21
22extract.mkdir    yes
23
24patchfiles       patch-wordplay.c
25
26post-patch {
27    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/wordplay.c
28}
29
30use_configure    no
31
32variant universal {}
33
34build.args       CC="${configure.cc} [get_canonical_archflags cc]"
35build.target
36
37destroot {
38        xinstall -m 755 ${worksrcpath}/wordplay ${destroot}${prefix}/bin
39    xinstall -d -m 755 ${destroot}${prefix}/share/wordplay ${destroot}${prefix}/share/doc/wordplay
40    xinstall -m 644 ${worksrcpath}/readme ${destroot}${prefix}/share/doc/wordplay
41        xinstall -m 644 ${worksrcpath}/words721.txt ${destroot}${prefix}/share/wordplay
42}
Note: See TracBrowser for help on using the repository browser.