1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/escpf/files/patch-aa
Satoshi Taoka 6ffb25926c Updated to 0.4
PR:             16106
Submitted by:   KATO Tsuguru <tkato@prontomail.ne.jp>
Approved by:    maintainer
2000-01-23 11:50:01 +00:00

62 lines
1.5 KiB
Plaintext

*** Makefile.orig Tue May 5 02:12:41 1998
--- Makefile Wed Jan 12 19:29:23 2000
***************
*** 6,21 ****
#
# user setting
! BINDIR = /usr/sbin # Linux
! #BINDIR = /usr/local/libexec # FreeBSD
! LINES = 66
! COLUMNS = 80
! TOP_MERGIN = 0
! LEFT_MERGIN = 0
!
! CC = cc
! CFLAGS = -O -DLINES=${LINES} -DCOLUMNS=${COLUMNS} -DTOP_MERGIN=${TOP_MERGIN} -DLEFT_MERGIN=${LEFT_MERGIN}
TYPES1 = -DESCP
TYPES2 = -DESCPAGE
TYPES3 = -DESCPS -DESCP
--- 6,22 ----
#
# user setting
! #BINDIR = /usr/sbin # Linux
! PREFIX?= /usr/local
! BINDIR = ${PREFIX}/libexec # FreeBSD
!
! LINES ?= 66
! COLUMNS ?= 80
! TOP_MERGIN ?= 0
! LEFT_MERGIN ?= 0
! CC ?= cc
! CFLAGS += -DLINES=${LINES} -DCOLUMNS=${COLUMNS} -DTOP_MERGIN=${TOP_MERGIN} -DLEFT_MERGIN=${LEFT_MERGIN}
TYPES1 = -DESCP
TYPES2 = -DESCPAGE
TYPES3 = -DESCPS -DESCP
***************
*** 41,50 ****
# ${OBJS}: ${SRCS} ${HEADERS}
install: all
! install -o bin -g bin -m 755 -s ./escpf ${BINDIR}
! install -o bin -g bin -m 755 -s ./escpagef ${BINDIR}
! install -o bin -g bin -m 755 -s ./escpsf ${BINDIR}
! install -o bin -g bin -m 755 -s ./escpagesf ${BINDIR}
# auto select !?
# @if [ -d /usr/local/libexec ]; then \
--- 42,51 ----
# ${OBJS}: ${SRCS} ${HEADERS}
install: all
! install -c -o bin -g bin -m 555 -s ./escpf ${BINDIR}
! install -c -o bin -g bin -m 555 -s ./escpagef ${BINDIR}
! install -c -o bin -g bin -m 555 -s ./escpsf ${BINDIR}
! install -c -o bin -g bin -m 555 -s ./escpagesf ${BINDIR}
# auto select !?
# @if [ -d /usr/local/libexec ]; then \