ports/audio/xmcd/files/patch-install.sh
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
556 B
Bash

--- install.sh.orig 2004-04-21 19:27:01 UTC
+++ install.sh
@@ -625,7 +625,7 @@ if [ "$OS_SYS" = A/UX ]
then
# Apple A/UX
SHELL=/bin/ksh
-elif [ "$OS_SYS" = FreeBSD ]
+elif [ "$OS_SYS" = FreeBSD -o "$OS_SYS" = DragonFly ]
then
# FreeBSD
OS_REL_T=`echo "$OS_REL_T" | sed 's/\..*$//'`
@@ -1170,7 +1170,7 @@ make_dir $ARCHBIN $DIRPERM $OWNER $GROUP
make_dir $ARCHLIB $DIRPERM $OWNER $GROUP
make_dir $DISCOGDIR $GDIRPERM $OWNER $GROUP
-if [ -n "$MANDIR" ]
+if [ -n "$MANDIR" -a ! -d "$MANDIR" ]
then
make_dir $MANDIR $DIRPERM $OWNER $GROUP
fi