aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-07 07:26:09 +0800
committeralane <alane@FreeBSD.org>2002-09-07 07:26:09 +0800
commit942799f9fd3f77d0ff97284cadb4107edbd4da95 (patch)
tree51053243bb8b734a8b90a0788c3d60568beba753 /devel
parent5da32d501cc4acebb1388620d123a4d8f38f4409 (diff)
downloadfreebsd-ports-gnome-942799f9fd3f77d0ff97284cadb4107edbd4da95.tar.gz
freebsd-ports-gnome-942799f9fd3f77d0ff97284cadb4107edbd4da95.tar.zst
freebsd-ports-gnome-942799f9fd3f77d0ff97284cadb4107edbd4da95.zip
Do not support running fam standalone (started from /usr/local/etc/rc.d)
anymore.
Diffstat (limited to 'devel')
-rw-r--r--devel/fam/Makefile2
-rw-r--r--devel/fam/files/fam.sh.sample21
2 files changed, 1 insertions, 22 deletions
diff --git a/devel/fam/Makefile b/devel/fam/Makefile
index 1fef217cc01b..f51a67ec1912 100644
--- a/devel/fam/Makefile
+++ b/devel/fam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fam
PORTVERSION= 2.6.9
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
PATCH_SITES= ftp://oss.sgi.com/projects/fam/download/patches/
@@ -30,7 +31,6 @@ pre-configure:
<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
post-install:
- @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/fam.sh.sample ${PREFIX}/etc/rc.d/fam.sh.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/devel/fam/files/fam.sh.sample b/devel/fam/files/fam.sh.sample
deleted file mode 100644
index 3ed1a018563f..000000000000
--- a/devel/fam/files/fam.sh.sample
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-case "$1" in
-start)
- [ -x ${PREFIX}/bin/fam ] && ( ${PREFIX}/bin/fam -T 0 & ) \
- && echo -n ' fam'
- ;;
-stop)
- killall fam && echo -n ' fam'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0