aboutsummaryrefslogtreecommitdiffstats
path: root/devel/loki/files
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-04-29 03:59:30 +0800
committersem <sem@FreeBSD.org>2006-04-29 03:59:30 +0800
commitdf7c3de71c11342e1a5d2bdb9dd70d8ccbf58c24 (patch)
treeaaedcf89191059215cd2ea92d16fded45745ab62 /devel/loki/files
parent3b30f70e2acfad8fdd8bfe8982a7f3fc472d1cc1 (diff)
downloadfreebsd-ports-gnome-df7c3de71c11342e1a5d2bdb9dd70d8ccbf58c24.tar.gz
freebsd-ports-gnome-df7c3de71c11342e1a5d2bdb9dd70d8ccbf58c24.tar.zst
freebsd-ports-gnome-df7c3de71c11342e1a5d2bdb9dd70d8ccbf58c24.zip
A C++ library of designs, containing flexible implementations of
common design patterns and idioms. WWW: http://sourceforge.net/projects/loki-lib/ PR: ports/93183 Submitted by: snnn <snnn119@gmail.com>
Diffstat (limited to 'devel/loki/files')
-rw-r--r--devel/loki/files/patch-Makefile19
-rw-r--r--devel/loki/files/patch-include-Makefile25
-rw-r--r--devel/loki/files/patch-src-Makefile34
3 files changed, 78 insertions, 0 deletions
diff --git a/devel/loki/files/patch-Makefile b/devel/loki/files/patch-Makefile
new file mode 100644
index 000000000000..6845b6f7b730
--- /dev/null
+++ b/devel/loki/files/patch-Makefile
@@ -0,0 +1,19 @@
+*** Makefile.bak Sat Feb 11 12:19:52 2006
+--- Makefile Sat Feb 11 12:19:59 2006
+***************
+*** 1,7 ****
+ DESTDIR := $(CURDIR)/$(DESTDIR)
+
+! .PHONY: build check install clean
+! build:
+ $(MAKE) -C src
+
+ check: build
+--- 1,7 ----
+ DESTDIR := $(CURDIR)/$(DESTDIR)
+
+! .PHONY: all check install clean
+! all:
+ $(MAKE) -C src
+
+ check: build
diff --git a/devel/loki/files/patch-include-Makefile b/devel/loki/files/patch-include-Makefile
new file mode 100644
index 000000000000..a58742b2731b
--- /dev/null
+++ b/devel/loki/files/patch-include-Makefile
@@ -0,0 +1,25 @@
+*** include/Makefile.orig Sat Jan 7 11:19:49 2006
+--- include/Makefile Sat Feb 11 22:41:43 2006
+***************
+*** 1,9 ****
+ .PHONY: install
+ install:
+! mkdir -p $(DESTDIR)/usr/include/loki
+! mkdir -p $(DESTDIR)/usr/include/loki/flex
+! mkdir -p $(DESTDIR)/usr/include/loki/yasli
+!
+! install loki/*.h $(DESTDIR)/usr/include/loki
+! install loki/flex/*.h $(DESTDIR)/usr/include/loki/flex
+! install loki/yasli/*.h $(DESTDIR)/usr/include/loki/yasli
+--- 1,11 ----
+ .PHONY: install
++ PREFIX=/usr/local
++
+ install:
+! mkdir -p $(PREFIX)/include/loki
+! mkdir -p $(PREFIX)/include/loki/flex
+! mkdir -p $(PREFIX)/include/loki/yasli
+!
+! install loki/*.h $(PREFIX)/include/loki
+! install loki/flex/*.h $(PREFIX)/include/loki/flex
+! install loki/yasli/*.h $(PREFIX)/include/loki/yasli
diff --git a/devel/loki/files/patch-src-Makefile b/devel/loki/files/patch-src-Makefile
new file mode 100644
index 000000000000..7582fd8a7060
--- /dev/null
+++ b/devel/loki/files/patch-src-Makefile
@@ -0,0 +1,34 @@
+*** src/Makefile.orig Sat Jan 7 11:19:49 2006
+--- src/Makefile Sat Feb 11 22:38:00 2006
+***************
+*** 1,14 ****
+ OBJ = Singleton.o SmallObj.o OrderedStatic.o
+ BIN = ../lib/libloki.a
+ CXXFLAGS = -I../include -Wall -O2 -DNDEBUG
+
+ $(BIN): $(OBJ)
+ ar rs $(BIN) $(OBJ)
+
+ .PHONY: clean install
+ install: $(BIN)
+! mkdir -p $(DESTDIR)/usr/lib
+! install $(BIN) $(DESTDIR)/usr/lib
+
+ clean:
+ rm -f $(OBJ) $(BIN)
+--- 1,15 ----
+ OBJ = Singleton.o SmallObj.o OrderedStatic.o
+ BIN = ../lib/libloki.a
+ CXXFLAGS = -I../include -Wall -O2 -DNDEBUG
++ PREFIX=/usr/local
+
+ $(BIN): $(OBJ)
+ ar rs $(BIN) $(OBJ)
+
+ .PHONY: clean install
+ install: $(BIN)
+! mkdir -p $(PREFIX)/lib
+! install $(BIN) $(PREFIX)/lib
+
+ clean:
+ rm -f $(OBJ) $(BIN)