mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
d4754d3fd3
- Utilize DATADIR/DOCSDIR PR: 59012 Submitted by: Ports Fury
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
--- src/Makefile.orig Wed Aug 23 21:12:48 1995
|
|
+++ src/Makefile Thu Nov 6 22:21:29 2003
|
|
@@ -1,24 +1,24 @@
|
|
# $Revision: 1.12 $
|
|
|
|
### You need a C compiler that compiles ANSI C code.
|
|
-CC = gcc
|
|
-CFLAGS = -Wall -pedantic -O
|
|
+#CC = gcc
|
|
+CFLAGS += -DBSD
|
|
|
|
### If you need additional linker flags add them here.
|
|
LDFLAGS =
|
|
|
|
### The directory where the Elk installation resides on your system.
|
|
-ELKDIR = /usr/elk
|
|
+ELKDIR = ${PREFIX}/share/elk
|
|
|
|
### Additional libraries. You may want to insert the output of the
|
|
### shell-script $(ELKDIR)/lib/ldflags here.
|
|
-LIBS = -lm
|
|
+LIBS = -lm -lelk -L${LOCALBASE}/lib
|
|
|
|
### The makedepend program (it's usually installed with the X11 binaries).
|
|
MAKEDEP = makedepend
|
|
|
|
### The directory under which you will install the Scheme files.
|
|
-DIR = /usr/local/lib/unroff
|
|
+DIR = ${PREFIX}/share/unroff
|
|
|
|
### The default output format.
|
|
FORMAT = html
|
|
@@ -30,8 +30,8 @@
|
|
### -------------------------------------------------------------------------
|
|
|
|
SHELL = /bin/sh
|
|
-INCLUDE = -I$(ELKDIR)/include
|
|
-ELK = $(ELKDIR)/lib/module.o
|
|
+INCLUDE = -I${LOCALBASE}/include/elk
|
|
+#ELK = $(ELKDIR)/lib/module.o
|
|
DEFS = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\"
|
|
CTAGS = ctags -t -w
|
|
|