mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
e215763fe0
A text converter from plain to any format. PR: 4049 Reviewed by: itojun@itojun.org Submitted by: nkazushi@highway.or.jp
40 lines
992 B
Plaintext
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
|