1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Use MAKE_ARGS

This commit is contained in:
Volker Stolz 2005-04-21 11:38:38 +00:00
parent 8e202c4cc1
commit c0ffd066b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133832
2 changed files with 3 additions and 25 deletions

View File

@ -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

View File

@ -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