1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Kanji code converter.

PR:		ports/7640
Submitted by:	Masanori Kiriake <seiken@nbs.co.jp>
This commit is contained in:
Jun Kuriyama 1998-09-15 22:05:58 +00:00
parent 2b0f83d3da
commit b072dbeb30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13161
6 changed files with 57 additions and 0 deletions

20
japanese/ack/Makefile Normal file
View File

@ -0,0 +1,20 @@
# New ports collection makefile for: ack
# Version required: 1.39
# Date created: 21 Jul 1998
# Whom: Masanori Kiriake <seiken@nbs.co.jp>
#
# $Id$
DISTNAME= ack139
PKGNAME= ja-ack-1.39
CATEGORIES= japanese converters
MASTER_SITES= ftp://ftp.tohoku.ac.jp/pub/unix/ack/
MAINTAINER= seiken@nbs.co.jp
ALL_TARGET= ack
MANLANG= ja
MAN1= ack.1
.include <bsd.port.mk>

1
japanese/ack/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ack139.tar.gz) = 8bb87ee0dc92547eb93b097fcfe99bd8

View File

@ -0,0 +1,33 @@
--- Makefile.orig Tue Jul 26 18:29:53 1994
+++ Makefile Wed Jul 29 18:49:18 1998
@@ -1,14 +1,15 @@
#### ack 1993,94 H.Ogasawara (COR.)
####
#### -- install directory
-BINARY = /usr/local/bin
-MANUAL = /usr/local/man/man1
+PREFIX?= /usr/local
+BINARY = ${PREFIX}/bin
+MANUAL = ${PREFIX}/man/ja/man1
####
#### -- UNIX
CC = cc
-CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
-#CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
+#CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
+CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
####
#### -- Human68k
#CC = gcc
@@ -34,8 +35,8 @@
$(CC) $(LDFLAGS) $(OBJ) -o $@
install: $(PROG)
- install -s -c $(PROG) $(BINARY)
- install -c ack.1 $(MANUAL)
+ ${BSD_INSTALL_PROGRAM} $(PROG) $(BINARY)
+ ${BSD_INSTALL_MAN} ack.1 $(MANUAL)
codetosjis.o: codetosjis.c kanjicode.h
codetoeuc.o: codetoeuc.c kanjicode.h

1
japanese/ack/pkg-comment Normal file
View File

@ -0,0 +1 @@
Kanji code converter.

1
japanese/ack/pkg-descr Normal file
View File

@ -0,0 +1 @@
Kanji code converter.

1
japanese/ack/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/ack