# $Id: Portfile 103528 2013-02-28 13:09:06Z jmr@macports.org $ PortSystem 1.0 name wordplay version 7.22 revision 1 categories games license Restrictive/Distributable maintainers nomaintainer description Simple program to generate anagrams long_description \ This is a program written in ANSI C that anagrams a given string. \ It has its own word file, but allows you to use a different one. homepage http://hsvmovies.com/static_subpages/personal_orig/wordplay/ platforms darwin master_sites ${homepage} distname ${name}722 extract.suffix .tar.Z checksums sha1 629b4a876b6be966be7ddde7ccdfaa89fc226942 extract.mkdir yes patchfiles patch-wordplay.c post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/wordplay.c } use_configure no variant universal {} build.args CC="${configure.cc} [get_canonical_archflags cc]" build.target destroot { xinstall -m 755 ${worksrcpath}/wordplay ${destroot}${prefix}/bin xinstall -d -m 755 ${destroot}${prefix}/share/wordplay ${destroot}${prefix}/share/doc/wordplay xinstall -m 644 ${worksrcpath}/readme ${destroot}${prefix}/share/doc/wordplay xinstall -m 644 ${worksrcpath}/words721.txt ${destroot}${prefix}/share/wordplay }