aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/rman/Makefile3
-rw-r--r--textproc/rman/files/patch-aa25
2 files changed, 3 insertions, 25 deletions
diff --git a/textproc/rman/Makefile b/textproc/rman/Makefile
index eedaec699963..e9efbabc48d4 100644
--- a/textproc/rman/Makefile
+++ b/textproc/rman/Makefile
@@ -14,6 +14,9 @@ MASTER_SITE_SUBDIR= polyglotman
MAINTAINER= ports@FreeBSD.org
COMMENT= Reverse compile man pages from formatted form
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
+ BINDIR="${PREFIX}/bin" MANDIR="${MAN1PREFIX}/man/man1"
+
MAN1= rman.1
PLIST_FILES= bin/rman
diff --git a/textproc/rman/files/patch-aa b/textproc/rman/files/patch-aa
deleted file mode 100644
index 54d32fa0a971..000000000000
--- a/textproc/rman/files/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.orig Sun Sep 28 16:42:30 2003
-+++ Makefile Sun Sep 28 16:43:48 2003
-@@ -15,18 +15,18 @@
- # this must be a directory that's in your bin PATH.
- # MANDIR holds the man page.
-
--BINDIR = /opt/local/bin
-+BINDIR = ${PREFIX}/bin
- #BINDIR = /usr/local/bin
- #BINDIR = //C/bin
--MANDIR = /usr/local/man/man1
-+MANDIR = ${PREFIX}/man/man1
- # popular alternative
- #BINDIR = /opt/local/bin
- #MANDIR = /opt/local/man/man1
-
-
- ### if you have GNU gcc, use these definitions
--CC = gcc
--CFLAGS = -O2 -finline-functions
-+#CC = gcc
-+CFLAGS+= -O2 -finline-functions
-
- ### if you just have a standard UNIX, use these instead of GNU.
- ### CC must be an ANSI C compiler