aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-08-18 04:21:41 +0800
committerhoek <hoek@FreeBSD.org>1998-08-18 04:21:41 +0800
commite931d968fccde24342ead41ab9181ed7d13af6e3 (patch)
tree0db8cb664acd897cfe90ca883af4e26a7ab9a499 /audio
parent4533e48270a0c9686201e8b459f2543afdf27fae (diff)
downloadfreebsd-ports-graphics-e931d968fccde24342ead41ab9181ed7d13af6e3.tar.gz
freebsd-ports-graphics-e931d968fccde24342ead41ab9181ed7d13af6e3.tar.zst
freebsd-ports-graphics-e931d968fccde24342ead41ab9181ed7d13af6e3.zip
Yes, removing plist manpages broke this one, too. :)
Actually, this has been broken since asami's compress-all-the-manpages commit on Nov. 18, _1996_. I'm beginning to suspect that more ports are in like this...
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 e819281a91c..06a038524e1 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 d4e802465d9..53a5d3e1c32 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