freebsd-ports/print/c2ps-letter/files/patch-aa
Satoshi Asami 5f2482b873 Make this port actually install by using BSD_INSTALL_* macros, not
INSTALL_* macros (which are not what's passed in the environment).
1998-02-25 12:03:37 +00:00

35 lines
765 B
Text

--- Makefile.orig Thu May 15 11:50:56 1997
+++ Makefile Thu Nov 20 22:06:51 1997
@@ -2,10 +2,7 @@
# Last modified: Sat Apr 19 1997
RM = rm -f
-CC = gcc
-CCFLAGS = -O
-PREFIX = /usr/local
BIN = $(PREFIX)/bin
MAN = $(PREFIX)/man/man1
@@ -20,8 +17,6 @@
FUNCTION_FONT = \"Bookman-LightItalic\"
COMMENT_DIMMING_DEGREE = 0.75
-DEFAULT_PAPER_TYPE = A4
-# possible values are A4 and LETTER
#___You don't need to change anything below__________________
@@ -39,10 +34,10 @@
install: bininstall maninstall
bininstall: c2ps
- install -m 755 c2ps $(BIN)
+ $(BSD_INSTALL_PROGRAM) c2ps $(BIN)
maninstall: c2ps.1
- install -m 644 c2ps.1 $(MAN)
+ $(BSD_INSTALL_MAN) c2ps.1 $(MAN)
compile: c2ps.c
$(CC) $(PREP_OPTIONS) $(CCFLAGS) -o c2ps c2ps.c