Ignore:
Timestamp:
Nov 14, 2012, 8:45:55 AM (6 years ago)
Author:
g5pw@…
Message:

devel/pev

  • Bump to 0.60, removed patch (applied upstream)
Location:
trunk/dports/devel/pev
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/pev/Portfile

    r94753 r99681  
    55
    66name                pev
    7 version             0.50
     7version             0.60
    88maintainers         g5pw openmaintainer
    99
     
    1919master_sites        sourceforge:project/pev/pev-${version}
    2020
     21checksums           rmd160  27d88a10dfedd68c46163d17ba483b45f57389d4 \
     22                    sha256  133d4698a25f3b40b95f203d30ddea5895b41db2c8cb7724433cc4ce165c2b43
    2123
    22 checksums           rmd160  d1dbcab5e52a7f2661eb042cc4a7df506364fee7 \
    23                     sha256  6ba1a653664a5f98dd016e0d850d6c931965d08914ac008a18b7357520c1aef8
    24 
    25 patchfiles                      lib_libpe_Makefile.patch \
    26                     src_Makefile.patch \
     24patchfiles          lib_libpe_Makefile.patch
    2725
    2826use_configure       no
  • trunk/dports/devel/pev/files/lib_libpe_Makefile.patch

    r94725 r99681  
    1 --- lib/libpe/Makefile.new      2012-06-27 20:17:53.000000000 +0200
    2 +++ lib/libpe/Makefile  2012-06-25 21:23:28.000000000 +0200
    3 @@ -1,28 +1,28 @@
    4  PREFIX=/usr
    5 +DEST=$(DESTDIR)/$(PREFIX)/lib
    6 -DEST=$(PREFIX)/lib
    7  VERSION=1.0
    8  CFLAGS=-W -Wall -Wextra -pedantic -std=c99
    9  SRC=pe.c
    10  RM=rm -f
    11  CC=gcc
    12  LN=ln -sf
    13 +STRIP=strip -x
    14 -STRIP=strip --strip-unneeded
    15  LIBNAME=libpe
    16  INSTALL=install -m 0644
    17  
    18  all: pe.c pe.h
    19         $(CC) -o $(LIBNAME).o -c $(CFLAGS) -fPIC $(SRC)
    20 +       $(CC) -shared -Wl,-install_name,$(PREFIX)/lib/$(LIBNAME).dylib.1 -o $(LIBNAME).dylib $(LIBNAME).o
    21 -       $(CC) -shared -Wl,-soname,$(LIBNAME).so.1 -o $(LIBNAME).so $(LIBNAME).o
    22  
    23  install:
    24 +       $(STRIP) $(LIBNAME).dylib
    25 -       $(STRIP) $(LIBNAME).so
    26         test -d $(DEST) || mkdir -p $(DEST)
    27 +       $(INSTALL) $(LIBNAME).dylib $(DEST)/$(LIBNAME).dylib.$(VERSION)
    28 +       cd $(DEST); $(LN) $(LIBNAME).dylib.$(VERSION) $(LIBNAME).dylib
    29 +       cd $(DEST); $(LN) $(LIBNAME).dylib.$(VERSION) $(LIBNAME).dylib.1
    30 -       $(INSTALL) $(LIBNAME).so $(DEST)/$(LIBNAME).so.$(VERSION)
    31 -       $(LN) $(DEST)/$(LIBNAME).so.$(VERSION) $(DEST)/$(LIBNAME).so
    32 -       $(LN) $(DEST)/$(LIBNAME).so.$(VERSION) $(DEST)/$(LIBNAME).so.1
    33  
    34  uninstall:
    35 +       $(RM) $(DEST)/$(LIBNAME).dylib*
    36 -       $(RM) $(DEST)/$(LIBNAME).so*
    37  
    38  clean:
    39         $(RM) $(LIBNAME).*o*
     1--- lib/libpe/Makefile  2012-10-31 04:59:14.000000000 +0100
     2+++ lib/libpe/Makefile.new      2012-11-14 09:41:21.000000000 +0100
     3@@ -32,7 +32,7 @@
     4        $(CC) -shared -Wl,-soname,$(LIBNAME).so.1 -o $(LIBNAME).so $(LIBNAME).o
     5 else ifeq ($(PLATFORM_OS), Darwin)
     6        $(CC) -headerpad_max_install_names -dynamiclib \
     7-               -flat_namespace -install_name $(LIBNAME).$(VERSION).dylib \
     8+               -flat_namespace -install_name $(PREFIX)/lib/$(LIBNAME).$(VERSION).dylib \
     9                -current_version $(VERSION) -compatibility_version $(VERSION) \
     10                -o $(LIBNAME).dylib $(LIBNAME).o
     11 else ifeq ($(PLATFORM_OS), CYGWIN)
Note: See TracChangeset for help on using the changeset viewer.