Revision: 67099 http://trac.macports.org/changeset/67099 Author: toby@macports.org Date: 2010-04-28 21:05:49 -0700 (Wed, 28 Apr 2010) Log Message: ----------- ne 2.1 Modified Paths: -------------- trunk/dports/editors/ne/Portfile Added Paths: ----------- trunk/dports/editors/ne/files/patch-makefile trunk/dports/editors/ne/files/patch-src?\226?\152?\131makefile Removed Paths: ------------- trunk/dports/editors/ne/files/patch-src__makefile Modified: trunk/dports/editors/ne/Portfile =================================================================== --- trunk/dports/editors/ne/Portfile 2010-04-29 03:50:50 UTC (rev 67098) +++ trunk/dports/editors/ne/Portfile 2010-04-29 04:05:49 UTC (rev 67099) @@ -2,7 +2,7 @@ PortSystem 1.0 name ne -version 2.0.3 +version 2.1 categories editors maintainers toby description ne - nice editor @@ -16,43 +16,20 @@ license GPLv2 master_sites ${homepage} -checksums md5 16ed5c974adb8255a693f8a3b6e91071 \ - sha1 9dd848041b9c719659182b2cf8b03b6753b99291 \ - rmd160 4ee477a8bac1a2c47983d7cfc6f698ecac76d887 +checksums md5 4fc50834fd2036fd0bb5f125aa4124eb \ + sha1 d7a3b15d550705a940ebed14d5ca8e99bb06f72e \ + rmd160 8dca4b4c361712b674a3f2b3c1f122b611cf201f -patchfiles patch-src__makefile +patchfiles patch-makefile patch-src☃makefile -configure.cflags-append -Wno-pointer-sign configure { - reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/makefile + reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/makefile reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/src/makefile reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/src/makefile reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/src/makefile } -build.dir ${worksrcpath}/src build.target -destroot { - xinstall -m 555 ${worksrcpath}/src/ne ${destroot}${prefix}/bin - - xinstall -d ${destroot}${prefix}/lib/ne - file copy ${worksrcpath}/syntax ${destroot}${prefix}/lib/ne - - xinstall -m 444 ${worksrcpath}/doc/ne.1 ${destroot}${prefix}/share/man/man1 - - xinstall -d ${destroot}${prefix}/share/doc/ne - file copy ${worksrcpath}/doc/ne ${destroot}${prefix}/share/doc/ne - xinstall -m 444 \ - ${worksrcpath}/doc/ne.pdf \ - ${worksrcpath}/doc/ne.txt \ - ${worksrcpath}/doc/default.keys \ - ${worksrcpath}/doc/default.menus \ - ${worksrcpath}/README \ - ${worksrcpath}/COPYING \ - ${worksrcpath}/CHANGES \ - ${destroot}${prefix}/share/doc/ne -} - livecheck.type regex livecheck.regex HREF=\"ne-(.*)\\.tar\\.gz\">general Added: trunk/dports/editors/ne/files/patch-makefile =================================================================== --- trunk/dports/editors/ne/files/patch-makefile (rev 0) +++ trunk/dports/editors/ne/files/patch-makefile 2010-04-29 04:05:49 UTC (rev 67099) @@ -0,0 +1,11 @@ +--- makefile.orig 2010-04-28 20:59:02.000000000 -0700 ++++ makefile 2010-04-28 20:59:08.000000000 -0700 +@@ -7,7 +7,7 @@ + # to install ne locally into the directory <dir>. + + +-PREFIX=/usr/local ++PREFIX=__PREFIX__ + + PROGRAM = ne + Deleted: trunk/dports/editors/ne/files/patch-src__makefile =================================================================== --- trunk/dports/editors/ne/files/patch-src__makefile 2010-04-29 03:50:50 UTC (rev 67098) +++ trunk/dports/editors/ne/files/patch-src__makefile 2010-04-29 04:05:49 UTC (rev 67099) @@ -1,27 +0,0 @@ ---- src/makefile.orig 2009-03-21 10:25:20.000000000 -0700 -+++ src/makefile 2009-03-21 10:47:09.000000000 -0700 -@@ -16,7 +16,7 @@ - # files, ,etc.). - # - --NE_GLOBAL_DIR = /usr/local/lib/ne -+NE_GLOBAL_DIR = __PREFIX__/lib/ne - - PROGRAM = ne - -@@ -69,11 +69,14 @@ - NE_DEBUG= - NE_TEST= - -+CC=__CC__ -+ - ifeq ($(CC),gcc) - NO_SIGN=-Wno-pointer-sign - endif - --CFLAGS=$(OPTS) $(NO_SIGN) $(if $(NE_POSIX),-D_POSIX_C_SOURCE=199506L,) $(if $(NE_NOWCHAR),-DNOWCHAR,) $(if $(NE_TEST),-DNE_TEST,) $(if $(NE_DEBUG),-g,-O3 -DNODEBUG) $(if $(NE_TERMCAP),-DTERMCAP,) $(if $(NE_ANSI),-DTERMCAP -DANSI,) -+CFLAGS=__CFLAGS__ -+LDFLAGS=__LDFLAGS__ - LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses) - - ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),) Copied: trunk/dports/editors/ne/files/patch-src?\226?\152?\131makefile (from rev 67098, trunk/dports/editors/ne/files/patch-src__makefile) ===================================================================
participants (1)
-
toby@macports.org