Add missing files

More freebsd tunings
This commit is contained in:
Andrey A. Chernov 1996-11-27 10:59:59 +00:00
parent aa4294f390
commit 776e0d5bd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4700
3 changed files with 29 additions and 48 deletions

View File

@ -1,9 +1,9 @@
# New ports collection makefile for: trans
# Version required: 1.11
# Date created: 6 May 1996
# Whom: ache@astral.msk.su
# Whom: ache
#
# $Id: Makefile,v 1.1.1.1 1996/05/06 13:33:38 ache Exp $
# $Id: Makefile,v 1.2 1996/07/13 22:41:46 ache Exp $
#
DISTNAME= trans111
@ -11,6 +11,26 @@ PKGNAME= trans-1.11
CATEGORIES= misc russian
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/charsets/
MAINTAINER= ache@astral.msk.su
MAINTAINER= ache@FreeBSD.org
LIBDIR= ${PREFIX}/lib/trans
ALL= transtab transiso checkiso transce8
do-install:
cd ${WRKSRC} && $(INSTALL_PROGRAM) $(ALL) ${PREFIX}/bin
cd ${WRKSRC} && \
for i in $(ALL); do \
$(INSTALL_MAN) $$i.man ${PREFIX}/man/cat1/$$i.1; \
done
-mkdir -p ${LIBDIR}/tables ${LIBDIR}/xlt ${LIBDIR}/doc
cd ${WRKSRC} && \
$(INSTALL_SCRIPT) checkall mkbintab mklist one iso ${LIBDIR}
cd ${WRKSRC} && \
$(INSTALL_DATA) iso10646 encoding.lis bin/trans.[ch] bin/trans.man \
bin/utimbuf.h bin/utf.[ch] ${LIBDIR}
cd ${WRKSRC}/tables && $(INSTALL_DATA) * ${LIBDIR}/tables
cd ${WRKSRC}/xlt && $(INSTALL_DATA) * ${LIBDIR}/xlt
cd ${WRKSRC}/doc && $(INSTALL_DATA) * ${LIBDIR}/doc
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
*** Makefile.orig Sat Jun 1 04:11:00 1996
--- Makefile Sun Jul 14 02:24:09 1996
--- Makefile Wed Nov 27 13:01:22 1996
***************
*** 30,49 ****
*** 30,43 ****
#
# CC = bcc
# CC = cl
@ -16,13 +16,7 @@
#
# LOPTS are linker options (if any)
#
# LOPTS =
# LOPTS = /F 4000
LOPTS = -o
#
# OBJLIB is the collection of independend object files
#
--- 30,54 ----
--- 30,44 ----
#
# CC = bcc
# CC = cl
@ -38,39 +32,3 @@
#
# LOPTS are linker options (if any)
#
# LOPTS =
# LOPTS = /F 4000
LOPTS = -o
+
+ PREFIX = /usr/local
+ LIBDIR = ${PREFIX}/lib/trans
+
#
# OBJLIB is the collection of independend object files
#
***************
*** 62,68 ****
#
install:
! cp $(ALL) /usr/local/bin
#
###############################################################################
--- 67,82 ----
#
install:
! $(INSTALL) -s -c -m $(BINMODE) -o $(BINOWN) -g $(BINGRP) $(ALL) ${PREFIX}/bin
! for i in $(ALL); do \
! $(INSTALL) -c -m $(MANMODE) -o $(MANOWN) -g $(MANGRP) $$i.man ${PREFIX}/man/cat1/$$i.1; \
! done
! -mkdir -p ${LIBDIR}/tables ${LIBDIR}/xlt ${LIBDIR}/doc
! $(INSTALL) -c -m $(BINMODE) -o $(BINOWN) -g $(BINGRP) checkall mkbintab mklist one iso ${LIBDIR}
! $(INSTALL) -c -m $(SHAREMODE) -o $(SHAREOWN) -g $(SHAREGRP) iso10646 encoding.lis bin/trans.[ch] bin/trans.man ${LIBDIR}
! cd tables; $(INSTALL) -c -m $(SHAREMODE) -o $(SHAREOWN) -g $(SHAREGRP) * ${LIBDIR}/tables
! cd xlt; $(INSTALL) -c -m $(SHAREMODE) -o $(SHAREOWN) -g $(SHAREGRP) * ${LIBDIR}/xlt
! cd doc; $(INSTALL) -c -m $(SHAREMODE) -o $(SHAREOWN) -g $(SHAREGRP) * ${LIBDIR}/doc
#
###############################################################################

View File

@ -208,3 +208,6 @@ lib/trans/iso10646
lib/trans/trans.c
lib/trans/trans.h
lib/trans/trans.man
lib/trans/utimbuf.h
lib/trans/utf.c
lib/trans/utf.h