diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-02-10 10:14:06 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-02-10 10:14:06 +0000 |
commit | a76ee8cd9e9deb734d7adf495c99c17a3396eeb9 (patch) | |
tree | 5e430f0cb130fda9f4bebb7d9e0cdf8af1346b1a /devel/hypersrc | |
parent | 02baa4219f21a975a01e43480a21f37b2bf6c5a9 (diff) | |
download | ports-a76ee8cd9e9deb734d7adf495c99c17a3396eeb9.tar.gz ports-a76ee8cd9e9deb734d7adf495c99c17a3396eeb9.zip |
Notes
Diffstat (limited to 'devel/hypersrc')
-rw-r--r-- | devel/hypersrc/Makefile | 2 | ||||
-rw-r--r-- | devel/hypersrc/distinfo | 2 | ||||
-rw-r--r-- | devel/hypersrc/files/patch-Makefile | 80 |
3 files changed, 2 insertions, 82 deletions
diff --git a/devel/hypersrc/Makefile b/devel/hypersrc/Makefile index 5c200313b243..bc6fc4df3c45 100644 --- a/devel/hypersrc/Makefile +++ b/devel/hypersrc/Makefile @@ -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%/ diff --git a/devel/hypersrc/distinfo b/devel/hypersrc/distinfo index 8953d1991b06..f740eaef4c04 100644 --- a/devel/hypersrc/distinfo +++ b/devel/hypersrc/distinfo @@ -1 +1 @@ -MD5 (hypersrc-5.3.3.tar.gz) = 37d5cb872417e2d25809224d5fcfcb69 +MD5 (hypersrc-5.3.8.tar.gz) = 76339e8ecf30b9a8b19aaa6220433eea diff --git a/devel/hypersrc/files/patch-Makefile b/devel/hypersrc/files/patch-Makefile deleted file mode 100644 index 94951b8eec83..000000000000 --- a/devel/hypersrc/files/patch-Makefile +++ /dev/null @@ -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 |