diff options
author | pav <pav@FreeBSD.org> | 2005-07-18 15:17:07 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-18 15:17:07 +0000 |
commit | 670a6520b81266a1c628f8970ff4e91e6fc08cd3 (patch) | |
tree | 30f6ab393c474bfd2d3f5e3af6fefa9a3d80cc20 /www/bk_edit | |
parent | 4099de0d2893fc060c6796deed15246bf85a1ef9 (diff) | |
download | FreeBSD-ports-670a6520b81266a1c628f8970ff4e91e6fc08cd3.zip FreeBSD-ports-670a6520b81266a1c628f8970ff4e91e6fc08cd3.tar.gz |
- Support CC/CFLAGS properly
- Update WWW
PR: ports/83616
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'www/bk_edit')
-rw-r--r-- | www/bk_edit/Makefile | 18 | ||||
-rw-r--r-- | www/bk_edit/files/patch-src:Makefile.in | 27 | ||||
-rw-r--r-- | www/bk_edit/pkg-descr | 2 |
3 files changed, 17 insertions, 30 deletions
diff --git a/www/bk_edit/Makefile b/www/bk_edit/Makefile index 7dd323c..8423f27 100644 --- a/www/bk_edit/Makefile +++ b/www/bk_edit/Makefile @@ -15,10 +15,24 @@ MASTER_SITES= http://www.allesdurcheinander.de/nettools/bk_edit/ MAINTAINER= ports@FreeBSD.org COMMENT= Bookmark Editor +USE_GNOME= gtk12 libxml2 USE_BISON= yes USE_GETOPT_LONG= yes -USE_GNOME= gtk12 libxml2 +USE_REINPLACE= yes HAS_CONFIGURE= yes -MAKE_ENV= LDFLAGS="${LDFLAGS}" +MAKE_ENV= LD="${CC}" LDFLAGS="${LDFLAGS}" + +post-patch: + @${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^CC .*=|CC ?=|g ; \ + s|^LD .*=|LD ?=|g ; \ + s|^CFLAGS .*=|CFLAGS +=|g ; \ + s|^LDFLAGS .*=|LDFLAGS +=|g ; \ + s| make| $$(MAKE)|g' + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/bkedit ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/bkedit + ${INSTALL_DATA} ${WRKSRC}/src/plugins/*.so ${PREFIX}/lib/bkedit .include <bsd.port.mk> diff --git a/www/bk_edit/files/patch-src:Makefile.in b/www/bk_edit/files/patch-src:Makefile.in deleted file mode 100644 index 55a8c34..0000000 --- a/www/bk_edit/files/patch-src:Makefile.in +++ /dev/null @@ -1,27 +0,0 @@ ---- src/Makefile.in.orig Sat Nov 29 21:14:14 2003 -+++ src/Makefile.in Fri Dec 26 14:08:00 2003 -@@ -1,10 +1,10 @@ - PROG = bkedit# - --CC = gcc -+#CC = gcc - LD = gcc - --CFLAGS = -Wall `@GTK_CONFIG@ --cflags` `@XML2_CONFIG@ --cflags`#-ggdb -pg -a --LDFLAGS = @LIB@ `@GTK_CONFIG@ --libs` `@XML2_CONFIG@ --libs` -Wl,-export-dynamic# -rdynamic 'reverse dependencies' # -pg -+CFLAGS += -Wall `@GTK_CONFIG@ --cflags` `@XML2_CONFIG@ --cflags`#-ggdb -pg -a -+LDFLAGS += @LIB@ `@GTK_CONFIG@ --libs` `@XML2_CONFIG@ --libs` -Wl,-export-dynamic# -rdynamic 'reverse dependencies' # -pg - - OBJS = bk_edit.o bk_edit_menu.o bk_edit_tree.o bk_edit_edit.o bk_edit_file.o \ - bk_edit_ccp.o bk_edit_data.o bk_edit_undo.o bk_edit_dnd.o bk_edit_misc.o \ -@@ -31,8 +31,8 @@ - install: - $(INSTALL) -d -m 755 @PREFIX@/bin/ - $(INSTALL) -m 755 $(PROG) @PREFIX@/bin/ -- $(INSTALL) -d -m 755 @PREFIX@/share/bkedit/ -- $(INSTALL) -m 755 ./plugins/*.so @PREFIX@/share/bkedit/ -+ $(INSTALL) -d -m 755 @PREFIX@/lib/bkedit/ -+ $(INSTALL) -m 755 ./plugins/*.so @PREFIX@/lib/bkedit/ - - uninstall: - $(RM) @PREFIX@/bin/$(PROG) diff --git a/www/bk_edit/pkg-descr b/www/bk_edit/pkg-descr index 01d14fe..59ecfbb 100644 --- a/www/bk_edit/pkg-descr +++ b/www/bk_edit/pkg-descr @@ -14,4 +14,4 @@ there are plugins for the following browsers and tools: * Phoenix 0.5+ (Drag & Drop only) * Konqueror 3+ (Drag & Drop only) -WWW: http://www2.fht-esslingen.de/~clfuit00/sasnt/bk_edit/ +WWW: http://www.allesdurcheinander.de/nettools/bk_edit/ |