aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-21 19:38:38 +0800
committervs <vs@FreeBSD.org>2005-04-21 19:38:38 +0800
commit96dc531fef5fd93dd07e54a4583e9405bd06400e (patch)
treed15dad555d4467ac267f06d8b1432b6992e71880
parent9038fa5c1bcf3e70f51e490c28e4f6aa27f38480 (diff)
downloadfreebsd-ports-gnome-96dc531fef5fd93dd07e54a4583e9405bd06400e.tar.gz
freebsd-ports-gnome-96dc531fef5fd93dd07e54a4583e9405bd06400e.tar.zst
freebsd-ports-gnome-96dc531fef5fd93dd07e54a4583e9405bd06400e.zip
Use MAKE_ARGS
-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