aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-17 20:21:41 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-17 20:21:41 +0000
commit80140b58bb7b2291f5829c0b863087bfaa85e114 (patch)
tree51d93e20849159eb6b5619126f61f96143329ddf /audio
parent13acebb211bc7b3a6ba4a64587ba2dbf19d6facb (diff)
downloadports-80140b58bb7b2291f5829c0b863087bfaa85e114.tar.gz
ports-80140b58bb7b2291f5829c0b863087bfaa85e114.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gsm/Makefile9
-rw-r--r--audio/gsm/pkg-plist15
2 files changed, 18 insertions, 6 deletions
diff --git a/audio/gsm/Makefile b/audio/gsm/Makefile
index e819281a91c4..06a038524e14 100644
--- a/audio/gsm/Makefile
+++ b/audio/gsm/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 January 1995
# Whom: pst
#
-# $Id: Makefile,v 1.9 1997/07/10 15:50:48 pst Exp $
+# $Id: Makefile,v 1.10 1997/07/17 15:12:39 max Exp $
#
DISTNAME= gsm-1.0.10
@@ -18,5 +18,12 @@ MAN3= gsm.3 gsm_explode.3 gsm_option.3 gsm_print.3
post-install:
${LDCONFIG} -m ${PREFIX}/lib
+.if defined(NOMANCOMPRESS)
+ ${LN} -sf ${PREFIX}/man/man1/toast.1 ${PREFIX}/man/man1/untoast.1
+ ${LN} -sf ${PREFIX}/man/man1/toast.1 ${PREFIX}/man/man1/tcat.1
+.else
+ ${LN} -sf ${PREFIX}/man/man1/toast.1.gz ${PREFIX}/man/man1/untoast.1.gz
+ ${LN} -sf ${PREFIX}/man/man1/toast.1.gz ${PREFIX}/man/man1/tcat.1.gz
+.endif
.include <bsd.port.mk>
diff --git a/audio/gsm/pkg-plist b/audio/gsm/pkg-plist
index d4e802465d96..53a5d3e1c32d 100644
--- a/audio/gsm/pkg-plist
+++ b/audio/gsm/pkg-plist
@@ -1,11 +1,16 @@
bin/toast
-@exec ln -fs %f %B/untoast
-@exec ln -fs %f %B/untoastt
-@exec ln -fs %f %B/untoast.1
-@exec ln -fs %f %B/tcat.1
+@exec ln -f %D/%F %B/untoast
+@exec ln -f %D/%F %B/tcat
+@exec ln -fs toast.1.gz %D/man/man1/untoast.1.gz
+@exec ln -fs toast.1.gz %D/man/man1/tcat.1.gz
+@unexec rm %D/bin/untoast
+@unexec rm %D/bin/tcat
+@unexec rm %D/man/man1/untoast.1.gz
+@unexec rm %D/man/man1/untoast.1 2> /dev/null || true
+@unexec rm %D/man/man1/tcat.1.gz
+@unexec rm %D/man/man1/tcat.1 2> /dev/null || true
lib/libgsm.so.1.0.10
@exec /sbin/ldconfig -m %B
@unexec /sbin/ldconfig -R
lib/libgsm.a
-@exec ranlib %D/%F
include/gsm.h