mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
upgrade to 5.3.8
Submitted by: Akifyev Sergey <asa@gascom.ru>
This commit is contained in:
parent
02baa4219f
commit
a76ee8cd9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75233
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= hypersrc
|
||||
PORTVERSION= 5.3.3
|
||||
PORTVERSION= 5.3.8
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.jimbrooks.org/hypersrc/%SUBDIR%/ \
|
||||
http://www.home.earthlink.net/~jebrooks1/ftp/hypersrc/%SUBDIR%/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (hypersrc-5.3.3.tar.gz) = 37d5cb872417e2d25809224d5fcfcb69
|
||||
MD5 (hypersrc-5.3.8.tar.gz) = 76339e8ecf30b9a8b19aaa6220433eea
|
||||
|
@ -1,80 +0,0 @@
|
||||
--- GNUmakefile.orig Wed Jan 30 14:07:54 2002
|
||||
+++ GNUmakefile Sat Jun 8 13:43:27 2002
|
||||
@@ -8,11 +8,7 @@
|
||||
|
||||
# Where to install.
|
||||
#
|
||||
-ifeq ($(USER),root)
|
||||
- INSTALL_DIR=/usr/local/bin
|
||||
-else
|
||||
- INSTALL_DIR=$(HOME)/bin
|
||||
-endif
|
||||
+ INSTALL_DIR=${PREFIX}/bin
|
||||
|
||||
C_SRCS_ = main.c \
|
||||
widgets.c \
|
||||
@@ -71,7 +67,7 @@
|
||||
else
|
||||
|
||||
ifndef DEBUG
|
||||
-C_OPTIMIZE = -O2 -finline-functions
|
||||
+C_OPTIMIZE = ${CFLAGS}
|
||||
else
|
||||
C_OPTIMIZE = -O
|
||||
endif
|
||||
@@ -137,10 +133,10 @@
|
||||
|
||||
# ----- editing the rest should usually be unnecessary ------------------------
|
||||
|
||||
-CC = gcc -c
|
||||
-CC_FLAGS = -I$(INC_DIR) $(PROF_OPTS) $(C_DEBUG) $(C_OPTIMIZE) $(C_OPTS) $(C_WARNINGS) -pipe `$(GTK_CONFIG) --cflags` `gnome-config --cflags gnomeui`
|
||||
-LD = gcc
|
||||
-LD_FLAGS = $(PROF_OPTS) -pipe `$(GTK_CONFIG) --libs` `gnome-config --libs gnomeui`
|
||||
+#CC = gcc -c
|
||||
+CC_FLAGS = -I$(INC_DIR) $(PROF_OPTS) $(C_DEBUG) $(C_OPTIMIZE) $(C_OPTS) $(C_WARNINGS) `gnome-config --cflags gnomeui`
|
||||
+LD = $(CC)
|
||||
+LD_FLAGS = $(PROF_OPTS) -pipe `gnome-config --libs gnomeui`
|
||||
C_SRCS = $(addprefix src/,$(C_SRCS_))
|
||||
C_OBJS_ = $(C_SRCS_:.c=.o)
|
||||
C_OBJS = $(addprefix $(OUT)/,$(C_OBJS_))
|
||||
@@ -172,7 +168,7 @@
|
||||
$(LD) -o $(OUT)/hypersrc $(C_OBJS) $(LD_FLAGS) $(LIBS) $(OUT)/libparser.a
|
||||
|
||||
$(OUT)/%.o: src/%.c
|
||||
- $(CC) -o $@ $(CC_FLAGS) $(subst $(OUT)/,src/,$<)
|
||||
+ $(CC) -c -o $@ $(CC_FLAGS) $(subst $(OUT)/,src/,$<)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# parser (lex/yacc code that builds func graph/tree)
|
||||
@@ -210,13 +206,13 @@
|
||||
mv y.tab.[cho] $(OUT)
|
||||
|
||||
$(OUT)/y.tab.o: $(OUT)/y.tab.c
|
||||
- $(CC) -o $@ $(CC_FLAGS_PARSER) $(OUT)/y.tab.c
|
||||
+ $(CC) -c -o $@ $(CC_FLAGS_PARSER) $(OUT)/y.tab.c
|
||||
|
||||
$(OUT)/lex.yy.o: $(OUT)/lex.yy.c
|
||||
- $(CC) -o $@ $(CC_FLAGS_PARSER) $(OUT)/lex.yy.c
|
||||
+ $(CC) -c -o $@ $(CC_FLAGS_PARSER) $(OUT)/lex.yy.c
|
||||
|
||||
$(OUT)/str_heap.o: src/str_heap.c $(INC_DIR)/str_heap.h
|
||||
- $(CC) -o $@ $(CC_FLAGS_PARSER) src/str_heap.c
|
||||
+ $(CC) -c -o $@ $(CC_FLAGS_PARSER) src/str_heap.c
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -235,10 +231,11 @@
|
||||
@
|
||||
cat Hypersrc.pl \
|
||||
| sed 's|\$hypersrc = "hypersrc"|\$hypersrc = "${INSTALL_DIR}/hypersrc"|' \
|
||||
- | sed 's|\$ctags_pl = "ctags.pl"|\$ctags_pl = "${INSTALL_DIR}/ctags.pl"|' > $(INSTALL_DIR)/Hypersrc.pl
|
||||
+ | sed 's|\$ctags_pl = "ctags.pl"|\$ctags_pl = "${INSTALL_DIR}/ctags.pl"|' > $(OUT)/Hypersrc.pl
|
||||
+ ${BSD_INSTALL_SCRIPT} $(OUT)/Hypersrc.pl $(INSTALL_DIR)
|
||||
@
|
||||
- cp $(OUT)/hypersrc $(INSTALL_DIR)
|
||||
- cp ctags.pl $(INSTALL_DIR)
|
||||
+ ${BSD_INSTALL_PROGRAM} $(OUT)/hypersrc $(INSTALL_DIR)
|
||||
+ ${BSD_INSTALL_SCRIPT} ctags.pl $(INSTALL_DIR)
|
||||
@
|
||||
chmod +rx $(INSTALL_DIR)/hypersrc
|
||||
chmod +rx $(INSTALL_DIR)/Hypersrc.pl
|
Loading…
Reference in New Issue
Block a user