[30102] trunk/dports/textproc/recode
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 19 17:02:18 PDT 2007
Revision: 30102
http://trac.macosforge.org/projects/macports/changeset/30102
Author: nox at macports.org
Date: 2007-10-19 17:02:18 -0700 (Fri, 19 Oct 2007)
Log Message:
-----------
recode:
* Enabled NLS support.
* Added standard doc installation.
* Added sha1 and rmd160 checksums.
Modified Paths:
--------------
trunk/dports/textproc/recode/Portfile
Added Paths:
-----------
trunk/dports/textproc/recode/files/patch-lib__Makefile.in
Removed Paths:
-------------
trunk/dports/textproc/recode/files/patch-src__Makefile.in
Modified: trunk/dports/textproc/recode/Portfile
===================================================================
--- trunk/dports/textproc/recode/Portfile 2007-10-19 22:44:18 UTC (rev 30101)
+++ trunk/dports/textproc/recode/Portfile 2007-10-20 00:02:18 UTC (rev 30102)
@@ -4,7 +4,7 @@
name recode
version 3.6
-revision 1
+revision 2
categories textproc
maintainers nomaintainer
platforms darwin
@@ -19,25 +19,33 @@
homepage http://www.gnu.org/software/recode/
master_sites gnu
-checksums md5 be3f40ad2e93dae5cd5f628264bf1877
+checksums md5 be3f40ad2e93dae5cd5f628264bf1877 \
+ sha1 2de90cd2ba553bc07d75a29913ea4424dd9e616b \
+ rmd160 97dcb2544472c9025689452a94bed98ea36374b5
-patchfiles patch-src__Makefile.in
+depends_lib port:gettext
+patchfiles patch-lib__Makefile.in
+
pre-configure {
- file copy -force /usr/share/libtool/config.guess ${worksrcpath}
- file copy -force /usr/share/libtool/config.sub ${worksrcpath}
+ copy -force /usr/share/libtool/config.guess /usr/share/libtool/config.sub \
+ ${worksrcpath}
}
configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
- --disable-nls
+ --without-included-gettext
-pre-build {
- file copy ${worksrcpath}/lib/error.c ${worksrcpath}/src
-}
+post-destroot {
+ delete ${destroot}${prefix}/lib/charset.alias
+ delete ${destroot}${prefix}/share/info/dir
-post-destroot {
- file delete -force ${destroot}${prefix}/lib/charset.alias
- file delete -force ${destroot}${prefix}/share/info/dir
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README THANKS \
+ TODO ${destroot}${docdir}
}
+test.run yes
+test.target check
+
Added: trunk/dports/textproc/recode/files/patch-lib__Makefile.in
===================================================================
--- trunk/dports/textproc/recode/files/patch-lib__Makefile.in (rev 0)
+++ trunk/dports/textproc/recode/files/patch-lib__Makefile.in 2007-10-20 00:02:18 UTC (rev 30102)
@@ -0,0 +1,22 @@
+--- lib/Makefile.in.orig 2007-10-20 01:45:40.000000000 +0200
++++ lib/Makefile.in 2007-10-20 01:46:19.000000000 +0200
+@@ -107,8 +107,8 @@
+ AUTOMAKE_OPTIONS = gnits
+
+ noinst_LIBRARIES = libreco.a
+-noinst_HEADERS = error.h getopt.h gettext.h pathmax.h xstring.h
+-libreco_a_SOURCES = error.c getopt.c getopt1.c xstrdup.c
++noinst_HEADERS = error.h gettext.h pathmax.h xstring.h
++libreco_a_SOURCES = error.c xstrdup.c
+
+ EXTRA_DIST = alloca.c gettext.c malloc.c realloc.c strtol.c strtoul.c
+
+@@ -128,7 +128,7 @@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ libreco_a_DEPENDENCIES = @ALLOCA@ @LIBOBJS@
+-libreco_a_OBJECTS = error.o getopt.o getopt1.o xstrdup.o
++libreco_a_OBJECTS = error.o xstrdup.o
+ AR = ar
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Deleted: trunk/dports/textproc/recode/files/patch-src__Makefile.in
===================================================================
--- trunk/dports/textproc/recode/files/patch-src__Makefile.in 2007-10-19 22:44:18 UTC (rev 30101)
+++ trunk/dports/textproc/recode/files/patch-src__Makefile.in 2007-10-20 00:02:18 UTC (rev 30102)
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig 2005-06-02 16:07:09.000000000 -0400
-+++ src/Makefile.in 2005-06-02 16:07:16.000000000 -0400
-@@ -165,7 +165,7 @@
- strip-data$U.lo testdump$U.lo ucs$U.lo utf16$U.lo utf7$U.lo utf8$U.lo \
- varia$U.lo vn$U.lo flat$U.lo html$U.lo lat1ltex$U.lo lat1txte$U.lo \
- rfc1345$U.lo texinfo$U.lo base64$U.lo dump$U.lo endline$U.lo \
--permut$U.lo quoted$U.lo
-+permut$U.lo quoted$U.lo error$U.lo
- PROGRAMS = $(bin_PROGRAMS)
-
- recode_OBJECTS = main$U.o freeze$U.o mixed$U.o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071019/f35268c5/attachment.html
More information about the macports-changes
mailing list