Changeset 67099


Ignore:
Timestamp:
Apr 29, 2010, 4:05:49 AM (10 years ago)
Author:
toby@…
Message:

ne 2.1

Location:
trunk/dports/editors/ne
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/ne/Portfile

    r57375 r67099  
    33PortSystem 1.0
    44name             ne
    5 version          2.0.3
     5version          2.1
    66categories       editors
    77maintainers      toby
     
    1717
    1818master_sites     ${homepage}
    19 checksums        md5 16ed5c974adb8255a693f8a3b6e91071 \
    20                  sha1 9dd848041b9c719659182b2cf8b03b6753b99291 \
    21                  rmd160 4ee477a8bac1a2c47983d7cfc6f698ecac76d887
     19checksums        md5 4fc50834fd2036fd0bb5f125aa4124eb \
     20                 sha1 d7a3b15d550705a940ebed14d5ca8e99bb06f72e \
     21                 rmd160 8dca4b4c361712b674a3f2b3c1f122b611cf201f
    2222
    23 patchfiles       patch-src__makefile
     23patchfiles       patch-makefile patch-src☃makefile
    2424
    25 configure.cflags-append -Wno-pointer-sign
    2625configure {
    27     reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/makefile
     26    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/makefile
    2827    reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/src/makefile
    2928    reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/src/makefile
     
    3130}
    3231
    33 build.dir        ${worksrcpath}/src
    3432build.target
    35 
    36 destroot {
    37     xinstall -m 555 ${worksrcpath}/src/ne ${destroot}${prefix}/bin
    38 
    39     xinstall -d ${destroot}${prefix}/lib/ne
    40     file copy ${worksrcpath}/syntax ${destroot}${prefix}/lib/ne
    41 
    42     xinstall -m 444 ${worksrcpath}/doc/ne.1 ${destroot}${prefix}/share/man/man1
    43 
    44     xinstall -d ${destroot}${prefix}/share/doc/ne
    45     file copy ${worksrcpath}/doc/ne ${destroot}${prefix}/share/doc/ne
    46     xinstall -m 444 \
    47         ${worksrcpath}/doc/ne.pdf \
    48         ${worksrcpath}/doc/ne.txt \
    49         ${worksrcpath}/doc/default.keys \
    50         ${worksrcpath}/doc/default.menus \
    51         ${worksrcpath}/README \
    52         ${worksrcpath}/COPYING \
    53         ${worksrcpath}/CHANGES \
    54         ${destroot}${prefix}/share/doc/ne
    55 }
    5633
    5734livecheck.type   regex
  • trunk/dports/editors/ne/files/patch-src☃makefile

    r67098 r67099  
    1 --- src/makefile.orig   2009-03-21 10:25:20.000000000 -0700
    2 +++ src/makefile        2009-03-21 10:47:09.000000000 -0700
    3 @@ -16,7 +16,7 @@
    4  # files, ,etc.).
    5  #
    6  
    7 -NE_GLOBAL_DIR     = /usr/local/lib/ne
    8 +NE_GLOBAL_DIR     = __PREFIX__/lib/ne
    9  
    10  PROGRAM       = ne
    11  
    12 @@ -69,11 +69,14 @@
     1--- src/makefile.orig   2010-04-28 21:01:25.000000000 -0700
     2+++ src/makefile        2010-04-28 21:02:08.000000000 -0700
     3@@ -88,6 +88,8 @@
    134 NE_DEBUG=
    145 NE_TEST=
     
    1910 NO_SIGN=-Wno-pointer-sign
    2011 endif
     12@@ -97,9 +99,10 @@
     13        $(if $(NE_POSIX),   -D_POSIX_C_SOURCE=199506L,) \
     14        $(if $(NE_NOWCHAR), -DNOWCHAR,) \
     15        $(if $(NE_TEST),    -DNE_TEST,) \
     16-       $(if $(NE_DEBUG),   -g,-O3 -DNDEBUG) \
     17+       __CFLAGS__ \
     18        $(if $(NE_TERMCAP), -DTERMCAP,) \
     19        $(if $(NE_ANSI),    -DTERMCAP -DANSI,)
     20+LDFLAGS=__LDFLAGS__
    2121 
    22 -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,)
    23 +CFLAGS=__CFLAGS__
    24 +LDFLAGS=__LDFLAGS__
    2522 LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
    2623 
    27  ne:    $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
Note: See TracChangeset for help on using the changeset viewer.