summaryrefslogtreecommitdiff
path: root/devel/cc65/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-09-09 05:26:46 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-09-09 05:26:46 +0000
commit12350f4e2488c48fae98f67443a1d343bcd58b1a (patch)
treed9de9348561397741c1ec430e9dc468f9b33c431 /devel/cc65/files
parent- Update to 0.28 (diff)
- Update to 2.11.0
- Unbreak it - Add pkg-message for instructions PR: ports/102990 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> (maintainer)
Diffstat (limited to 'devel/cc65/files')
-rw-r--r--devel/cc65/files/patch-doc_Makefile14
-rw-r--r--devel/cc65/files/patch-make_gcc.mak41
-rw-r--r--devel/cc65/files/pkg-message.in13
3 files changed, 54 insertions, 14 deletions
diff --git a/devel/cc65/files/patch-doc_Makefile b/devel/cc65/files/patch-doc_Makefile
deleted file mode 100644
index 4c40617774ea..000000000000
--- a/devel/cc65/files/patch-doc_Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- doc/Makefile.orig Mon Sep 2 12:12:59 2002
-+++ doc/Makefile Mon Sep 2 12:13:01 2002
-@@ -1,6 +1,8 @@
- #
- # Makefile for the cc65 documentation
- #
-+# These can be built using the textproc/sgmltools port.
-+#
-
-
- # Default for the compiler lib search path as compiler define
diff --git a/devel/cc65/files/patch-make_gcc.mak b/devel/cc65/files/patch-make_gcc.mak
new file mode 100644
index 000000000000..da4f6b4e78f5
--- /dev/null
+++ b/devel/cc65/files/patch-make_gcc.mak
@@ -0,0 +1,41 @@
+--- make/gcc.mak.orig Sat Sep 10 16:45:50 2005
++++ make/gcc.mak Thu Sep 7 20:39:52 2006
+@@ -14,7 +14,7 @@
+ MAKEOVERRIDES=
+
+ # The install prefix and directories
+-prefix = /usr
++prefix = ${PREFIX}
+ exec_prefix = $(prefix)
+
+ bindir = $(exec_prefix)/bin
+@@ -37,9 +37,9 @@
+ INSTALL = install
+ #INSTALL = install-sh
+
+-INSTALL_DATA = $(INSTALL) -c -m 644
+-INSTALL_PROG = $(INSTALL) -c -m 755
+-INSTALL_STRIP = $(INSTALL_PROG) -s
++INSTALL_DATA = ${BSD_INSTALL_DATA}
++INSTALL_PROG = ${BSD_INSTALL_SCRIPT}
++INSTALL_STRIP = ${BSD_INSTALL_PROGRAM}
+
+ # Rules
+
+@@ -48,7 +48,7 @@
+ # a system on the command-line. (A user can do those rules with their
+ # defaults by putting "all samples tests" on the command-line.)
+ #
+-all: bins libs docs $(SYS:%=samples tests)
++all: bins libs $(SYS:%=samples tests)
+
+ bins:
+ @$(MAKE) -C src -f make/gcc.mak
+@@ -139,7 +139,4 @@
+ done
+ for f in readme.1st compile.txt CREDITS BUGS internal.txt newvers.txt; \
+ do $(INSTALL_DATA) doc/$$f $(CC65DOC) || exit 1; \
+- done
+- -for f in doc/*.html; \
+- do $(INSTALL_DATA) $$f $(CC65DOC) || exit 1; \
+ done
diff --git a/devel/cc65/files/pkg-message.in b/devel/cc65/files/pkg-message.in
new file mode 100644
index 000000000000..801dbe41461b
--- /dev/null
+++ b/devel/cc65/files/pkg-message.in
@@ -0,0 +1,13 @@
+===============================================================================
+
+You should exports the following enviropment variables:
+
+export CC65_INC=%%PREFIX%%/lib/cc65/include
+export CC65_LIB=%%PREFIX%%/lib/cc65/lib
+
+or for csh users:
+
+setenv CC65_INC %%PREFIX%%/lib/cc65/include
+setenv CC65_LIB %%PREFIX%%/lib/cc65/lib
+
+===============================================================================