Install links to man page for untoast and tcat.

Fix makefile so shared library is installed (except for alpha).
Change packing list to clean up everything when package deleted.
This commit is contained in:
marc 1998-02-26 20:34:31 +00:00
parent 52cf74ec26
commit 4cfa4e4fd2
3 changed files with 18 additions and 10 deletions

View File

@ -3,7 +3,7 @@
# Date created: December 4, 1997 # Date created: December 4, 1997
# Whom: Angelos D. Keromytis # Whom: Angelos D. Keromytis
# #
# $OpenBSD: Makefile,v 1.5 1998/02/12 20:21:07 niklas Exp $ # $OpenBSD: Makefile,v 1.6 1998/02/26 20:34:31 marc Exp $
# #
DISTNAME= gsm-1.0.10 DISTNAME= gsm-1.0.10
@ -17,6 +17,10 @@ MAN1= toast.1
MAN3= gsm.3 gsm_explode.3 gsm_option.3 gsm_print.3 MAN3= gsm.3 gsm_explode.3 gsm_option.3 gsm_print.3
post-install: post-install:
.if !defined(NO_INSTALL_MANPAGES)
${LN} -sf ${PREFIX}/man/man1/toast.1 ${PREFIX}/man/man1/untoast.1
${LN} -sf ${PREFIX}/man/man1/toast.1 ${PREFIX}/man/man1/tcat.1
.endif
${LDCONFIG} -m ${PREFIX}/lib ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.orig Tue Jul 2 16:36:06 1996 --- Makefile.orig Tue Jul 2 07:36:06 1996
+++ Makefile Wed Feb 11 21:43:14 1998 +++ Makefile Thu Feb 26 12:11:00 1998
@@ -7,11 +7,13 @@ @@ -7,11 +7,13 @@
SASR = -DSASR SASR = -DSASR
######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1) ######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
@ -77,12 +77,12 @@
LIBGSM = $(LIB)/libgsm.a LIBGSM = $(LIB)/libgsm.a
- -
+.if ${MACHINE} == "alpha" +.if (${MACHINE_ARCH} == "alpha")
+LIBGSMSO = +LIBGSMSO =
+INTALLED_LIBGSMSO = +INSTALLED_LIBGSMSO =
+.else +.else
+LIBGSMSO = $(LIB)/libgsm.so.1.0 +LIBGSMSO = $(LIB)/libgsm.so.1.0
+INTALLED_LIBGSMSO = $(GSM_INSTALL_LIB)/$(LIBGSMSO) +INSTALLED_LIBGSMSO = $(GSM_INSTALL_LIB)/libgsm.so.1.0
+.endif +.endif
TOAST = $(BIN)/toast TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast UNTOAST = $(BIN)/untoast

View File

@ -1,15 +1,19 @@
bin/toast bin/toast
@exec ln -fs %f %B/untoast @exec ln -fs %f %B/untoast
@exec ln -fs %f %B/untoastt @exec ln -fs %f %B/tcat
@unexec rm -f %B/untoast
@unexec rm -f %B/tcat
man/man1/toast.1 man/man1/toast.1
@exec ln -fs %f %B/untoast.1 @exec ln -fs %f %B/untoast.1
@exec ln -fs %f %B/tcat.1 @exec ln -fs %f %B/tcat.1
@unexec rm -f %B/untoast.1
@unexec rm -f %B/tcat.1
lib/libgsm.so.1.0
@exec /sbin/ldconfig -m %B
lib/libgsm.a
man/man3/gsm.3 man/man3/gsm.3
man/man3/gsm_explode.3 man/man3/gsm_explode.3
man/man3/gsm_option.3 man/man3/gsm_option.3
man/man3/gsm_print.3 man/man3/gsm_print.3
lib/libgsm.so.1.0.10
@exec /sbin/ldconfig -m %B
lib/libgsm.a
@exec ranlib %D/%F @exec ranlib %D/%F
include/gsm.h include/gsm.h