1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/japanese/plain2/files/patch-aa
Jun-ichiro itojun Hagino e215763fe0 imported plain2 port. (japanese/plain2)
A text converter from plain to any format.

PR:		4049
Reviewed by:	itojun@itojun.org
Submitted by:	nkazushi@highway.or.jp
1997-08-12 15:36:39 +00:00

40 lines
992 B
Plaintext

--- Makefile.orig Tue Apr 19 19:35:38 1994
+++ Makefile Wed Aug 13 00:20:49 1997
@@ -5,8 +5,8 @@
# Makefile for plain2 1993 by A.Uchida
#
#
-BINDIR=/usr/local/bin
-LIBDIR=/usr/local/lib/plain2
+BINDIR=${PREFIX}/bin
+LIBDIR=${PREFIX}/lib/plain2
SHELL=/bin/sh
@@ -15,8 +15,8 @@
#CC=gcc
#CFLAGS= -fwritable-strings ${DEFINES} -DBSD -DDEBUG
-CC=cc
-CFLAGS= -O ${DEFINES} -DBSD -DDEBUG
+CC=cc
+CFLAGS= -O ${DEFINES} -DBSD -DDEBUG -fwritable-strings
#CFLAGS= -g ${DEFINES} -DDEBUG
SRCS=plain2.c readfile.c analyze.c miscutil.c\
@@ -46,8 +46,12 @@
etags ${SRCS}
install:
- install -s plain2 ${BINDIR}
- cp ../lib/*.p2 ${LIBDIR}
+ install -c -s -o bin -g bin -m 555 plain2 ${BINDIR}
+ [ -d ${LIBDIR} ] || mkdir ${LIBDIR}
+ install -c -o bin -g bin -m 444 ../lib/*.p2 ${LIBDIR}
+# hint for unofficial html patch
+# install -c -o bin -g bin -m 555 plain2html ${BINDIR}
+# install -c -o bin -g bin -m 444 pt2htcol.awk ${LIBDIR}
clean:
rm -f plain2 *.o asccvt x.c error.LINT