1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/converters/aish/files/patch-aa
Steve Price 510f4d17ac * Updated version to 1.13
* Fixed MASTER_SITES
* Added WWW: line into pkg/DESCR

PR:		14902
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-11-26 18:03:12 +00:00

32 lines
892 B
Plaintext

--- Makefile.orig Wed Nov 18 20:13:30 1998
+++ Makefile Fri Nov 12 02:17:34 1999
@@ -1,12 +1,12 @@
# aish/koish 1993,94,95 by H.Ogasawara (COR.)
# install directory
-DSTDIR = /usr/local/bin
+DSTDIR = ${PREFIX}/bin
#### *** UNIX
-CC = gcc
+CC ?= gcc
LK = $(CC)
-CFLAGS = -O -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1
+CFLAGS += -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1
#CFLAGS = -O -DUNIX=1 -DUUENCODE=1
SYSOBJ = ai_unix.o
SYSCHK = syschk.h
@@ -127,9 +127,9 @@
clean:
rm -f *.o $(SYSCHK) $(PROG) $(MPROG) core *~
install: $(PROG) $(MPROG)
- install -c -s $(PROG) $(DSTDIR)
- install -c -s $(MPROG) $(DSTDIR)
- install -c -m 0755 ishcat $(DSTDIR)
+ ${BSD_INSTALL_PROGRAM} $(PROG) $(DSTDIR)
+ ${BSD_INSTALL_PROGRAM} $(MPROG) $(DSTDIR)
+ ${BSD_INSTALL_SCRIPT} ishcat $(DSTDIR)
oldc:
sed '/^##--OLDC-b/,/^##--OLDC-e/s/^#//' Makefile | \
sed '/^##--NEWC-b/,/^##--NEWC-e/s/.*/#&/' > aisholdc.mk