Updated to 1.14a

PR:		16108
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
Approved by:	maintainer
This commit is contained in:
Satoshi Taoka 2000-01-23 11:49:25 +00:00
parent 4d4528aff3
commit e06bb52c0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24971
4 changed files with 91 additions and 14 deletions

View file

@ -1,29 +1,30 @@
# New ports collection makefile for: lipsf
# Version required: 1.13c
# Version required: 1.14a
# Date created: 6 Dec 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= lipsf113
PKGNAME= ja-lipsf-1.13c
DISTNAME= lpsf114a
PKGNAME= ja-lipsf-1.14a
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.eos.hokudai.ac.jp/pub/tools/
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCHFILES= lipsf113c.patch.gz
MASTER_SITES= ftp://ftp.vector.co.jp/pack/unix/writing/print/
EXTRACT_SUFX= .tgz
MAINTAINER= mita@jp.FreeBSD.org
WRKSRC= ${WRKDIR}/lipsf-114a
MANLANG= ja
MAN1= lipsf.1 pols.1
DOCDIR= ${PREFIX}/share/doc/lipsf
post-install:
${MKDIR} ${DOCDIR}
(cd ${WRKSRC} ; \
${INSTALL_DATA} HISTORY Install README TECHKNOW ${DOCDIR})
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/lipsf
.for file in HISTORY Install README TECHKNOW
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lipsf
.endfor
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1 @@
MD5 (lipsf113.tar.gz) = b3351eb8ed91a65541d38daae4b8e9c7
MD5 (lipsf113c.patch.gz) = ff92a2fe677d9d743b41f12d313048fb
MD5 (lpsf114a.tgz) = e74daeea4ef8dad0b87b1bd33a20edc8

View file

@ -0,0 +1,13 @@
--- Makefile.orig Fri Nov 5 00:00:15 1999
+++ Makefile Wed Jan 12 21:49:27 2000
@@ -3,8 +3,8 @@
#
SHELL = /bin/sh
-MAKE = make
-CC = cc
+MAKE ?= make
+CC ?= cc
SED = sed
all: Makefile.tmp

View file

@ -0,0 +1,64 @@
--- Makefile.in.orig Fri Nov 5 00:00:15 1999
+++ Makefile.in Wed Jan 12 22:26:59 2000
@@ -3,12 +3,15 @@
#
TITLE = lipsf
-PREFIX = /usr/local
+PREFIX ?= /usr/local
TOPDIR = $(PREFIX)
BINDIR = $(TOPDIR)/bin
-MANDIR = $(TOPDIR)/man__LANGDIR__/man$(MANSEC)
-CATDIR = $(TOPDIR)/man__LANGDIR__/cat$(MANSEC)
+MANLANG ?= ja
+MANDIR = $(TOPDIR)/man/$(MANLANG)/man$(MANSEC)
+CATDIR = $(TOPDIR)/man/$(MANLANG)/cat$(MANSEC)
INSTALL = __INSTALL__
+INSTALL_BIN = $(INSTALL) -o bin -g bin
+INSTALL_MAN = $(INSTALL) -o bin -g bin
CHMOD = chmod
MANSEC = 1
@@ -44,7 +47,7 @@
POBJ2 = output__OBJ__ print__OBJ__ control__OBJ__ args__OBJ__ var__OBJ__ __DOSOBJS__
KNJOBJ = pols__OBJ__ input__OBJ__ file__OBJ__ style__OBJ__
LDFLAGS = __TERMLIBS__ __OTHERLIBS__
-CFLAGS = -D__OSTYPE__ __CCOPTIONS__
+CFLAGS += -D__OSTYPE__ #__CCOPTIONS__
.SUFFIXES: .h .c __OBJ__ __EXE__
@@ -116,25 +119,25 @@
# to install all
install: $(LIPSFB) $(POLSB) $(LIPSF).$(MANSEC) $(POLS).$(MANSEC)
- $(INSTALL) __INSTSTRIP__ $(LIPSFB) $(BINDIR)
+ $(INSTALL_BIN) __INSTSTRIP__ $(LIPSFB) $(BINDIR)
$(CHMOD) a+rx $(BINDIR)/$(LIPSFB)
- $(INSTALL) __INSTSTRIP__ $(POLSB) $(BINDIR)
+ $(INSTALL_BIN) __INSTSTRIP__ $(POLSB) $(BINDIR)
$(CHMOD) a+rx $(BINDIR)/$(POLSB)
- $(INSTALL) $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC)
+ $(INSTALL_MAN) $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC)
$(CHMOD) a+r $(MANDIR)/$(LIPSFB).$(MANSEC)
- $(INSTALL) $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
+ $(INSTALL_MAN) $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
$(CHMOD) a+r $(MANDIR)/$(POLSB).$(MANSEC)
catman: $(LIPSF).$(MANSEC)c $(POLS).$(MANSEC)c
- $(INSTALL) $(LIPSF).$(MANSEC)c $(CATDIR)/$(LIPSF).$(MANSEC)
+ $(INSTALL_MAN) $(LIPSF).$(MANSEC)c $(CATDIR)/$(LIPSF).$(MANSEC)
$(CHMOD) a+r $(CATDIR)/$(LIPSF).$(MANSEC)
- $(INSTALL) $(POLS).$(MANSEC)c $(CATDIR)/$(POLS).$(MANSEC)
+ $(INSTALL_MAN) $(POLS).$(MANSEC)c $(CATDIR)/$(POLS).$(MANSEC)
$(CHMOD) a+r $(CATDIR)/$(POLS).$(MANSEC)
catman-b: $(LIPSF).doc $(POLS).doc
- $(INSTALL) $(LIPSF).doc $(CATDIR)/$(LIPSF).$(MANSEC)
+ $(INSTALL_MAN) $(LIPSF).doc $(CATDIR)/$(LIPSF).$(MANSEC)
$(CHMOD) a+r $(CATDIR)/$(LIPSF).$(MANSEC)
- $(INSTALL) $(POLS).doc $(CATDIR)/$(POLS).$(MANSEC)
+ $(INSTALL_MAN) $(POLS).doc $(CATDIR)/$(POLS).$(MANSEC)
$(CHMOD) a+r $(CATDIR)/$(POLS).$(MANSEC)
compman: catman