[108771] trunk/dports/textproc

cal at macports.org cal at macports.org
Thu Aug 1 10:38:51 PDT 2013


Revision: 108771
          https://trac.macports.org/changeset/108771
Author:   cal at macports.org
Date:     2013-08-01 10:38:51 -0700 (Thu, 01 Aug 2013)
Log Message:
-----------
rhyme: new port, #39651

Added Paths:
-----------
    trunk/dports/textproc/rhyme/
    trunk/dports/textproc/rhyme/Portfile
    trunk/dports/textproc/rhyme/files/
    trunk/dports/textproc/rhyme/files/patch-Makefile.diff

Added: trunk/dports/textproc/rhyme/Portfile
===================================================================
--- trunk/dports/textproc/rhyme/Portfile	                        (rev 0)
+++ trunk/dports/textproc/rhyme/Portfile	2013-08-01 17:38:51 UTC (rev 108771)
@@ -0,0 +1,39 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem            1.0
+
+name                  rhyme
+version               0.9
+categories            textproc
+platforms             darwin
+license               GPL-2
+maintainers           gmail.com:israelchauca
+description           Rhyming dictionary.
+long_description      Command-line program that takes a word and returns to you \
+                      a formatted list of all words that rhyme with it.
+homepage              http://rhyme.sourceforge.net/
+master_sites          sourceforge:project/rhyme/rhyme/${version}
+checksums             rmd160 5049ee3f2ad6d56d03fd28a7399129213f4ca808 \
+                      sha256 11d4862cc3adfc18ea83ca233854c562fcebdc838fa7fb62de6ef3f63f992bd4
+
+depends_lib           port:gdbm \
+                      port:readline \
+                      port:ncurses
+
+patchfiles            patch-Makefile.diff
+
+use_configure         no
+
+build.env-append      FLAGS="${configure.cflags} [get_canonical_archflags]"
+
+use_parallel_build    no
+build.args-append     PREFIX=${prefix}   \
+                      CC=${configure.cc}
+
+destroot.args-append  DESTDIR=${destroot} \
+                      PREFIX=${prefix}
+
+livecheck.type        regex
+livecheck.url         http://sourceforge.net/projects/$name/files/$name/
+livecheck.regex       /${name}/(\[0-9.\]+)/


Property changes on: trunk/dports/textproc/rhyme/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/textproc/rhyme/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/rhyme/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/textproc/rhyme/files/patch-Makefile.diff	2013-08-01 17:38:51 UTC (rev 108771)
@@ -0,0 +1,33 @@
+--- Makefile.orig	2013-07-02 17:22:26.000000000 -0400
++++ Makefile	2013-07-03 19:18:27.000000000 -0400
+@@ -7,21 +7,21 @@
+ TEXTFILES = words.txt rhymes.txt multiple.txt
+ DBFILES = words.db rhymes.db multiple.db
+ 
+-RHYMEPATH = /usr/share/rhyme
+-BINPATH = /usr/bin
+-MANPATH = /usr/share/man/man1
++RHYMEPATH = $(PREFIX)/share/rhyme
++BINPATH   = $(PREFIX)/bin
++MANPATH   = $(PREFIX)/share/man/man1
+ 
+ OBJECTS = rhyme.o setup.o alloc.o getopt1.o getopt.o
+ 
+ all: words.db rhymes.db multiple.db rhyme
+ 
+ install: all
+-	install --mode=755 rhyme $(BINPATH)
+-	install --mode=755 -d $(RHYMEPATH)
+-	install --mode=644 words.db $(RHYMEPATH)
+-	install --mode=644 rhymes.db $(RHYMEPATH)
+-	install --mode=644 multiple.db $(RHYMEPATH)
+-	install --mode=644 rhyme.1 $(MANPATH)
++	install -m 755 rhyme $(DESTDIR)$(BINPATH)
++	install -m 755 -d $(DESTDIR)$(RHYMEPATH)
++	install -m 644 words.db $(DESTDIR)$(RHYMEPATH)
++	install -m 644 rhymes.db $(DESTDIR)$(RHYMEPATH)
++	install -m 644 multiple.db $(DESTDIR)$(RHYMEPATH)
++	install -m 644 rhyme.1 $(DESTDIR)$(MANPATH)
+ 
+ uninstall:
+ 	rm -f $(BINPATH)/rhyme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130801/8b5c8889/attachment-0001.html>


More information about the macports-changes mailing list