aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-01 20:32:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-01 20:32:55 +0000
commit5242569a08860a334700a80c93021c2c671a6338 (patch)
tree8eec6ef4046b32d1705caafc586d252235d6abf4 /deskutils
parent51031bdb65c03949d9fa948a8b1396f9034df88f (diff)
downloadports-5242569a08860a334700a80c93021c2c671a6338.tar.gz
ports-5242569a08860a334700a80c93021c2c671a6338.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/libmrproject/Makefile5
-rw-r--r--deskutils/libmrproject/files/libmrproject.sh16
-rw-r--r--deskutils/mrproject/Makefile5
-rw-r--r--deskutils/mrproject/files/mrproject.sh16
-rw-r--r--deskutils/planner/Makefile5
-rw-r--r--deskutils/planner/files/mrproject.sh16
6 files changed, 63 insertions, 0 deletions
diff --git a/deskutils/libmrproject/Makefile b/deskutils/libmrproject/Makefile
index 4e07fe45734c..f6e74a95fa8f 100644
--- a/deskutils/libmrproject/Makefile
+++ b/deskutils/libmrproject/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libmrproject
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ftp://ftp.codefactory.se/pub/software/mrproject/source/
@@ -29,4 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+post-install:
+ @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/libmrproject.sh > ${PREFIX}/etc/rc.d/000.libmrproject.sh
+ @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.libmrproject.sh
+
.include <bsd.port.mk>
diff --git a/deskutils/libmrproject/files/libmrproject.sh b/deskutils/libmrproject/files/libmrproject.sh
new file mode 100644
index 000000000000..42f654399d82
--- /dev/null
+++ b/deskutils/libmrproject/files/libmrproject.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject/file-modules
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject/storage-modules
+ ;;
+ stop)
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/deskutils/mrproject/Makefile b/deskutils/mrproject/Makefile
index b54452970282..5f4f9af0abc0 100644
--- a/deskutils/mrproject/Makefile
+++ b/deskutils/mrproject/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mrproject
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ftp://ftp.codefactory.se/pub/software/mrproject/source/
@@ -30,4 +31,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+post-install:
+ @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mrproject.sh > ${PREFIX}/etc/rc.d/000.mrproject.sh
+ @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mrproject.sh
+
.include <bsd.port.mk>
diff --git a/deskutils/mrproject/files/mrproject.sh b/deskutils/mrproject/files/mrproject.sh
new file mode 100644
index 000000000000..82e41f4d7b06
--- /dev/null
+++ b/deskutils/mrproject/files/mrproject.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject/views
+ ;;
+ stop)
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/deskutils/planner/Makefile b/deskutils/planner/Makefile
index b54452970282..5f4f9af0abc0 100644
--- a/deskutils/planner/Makefile
+++ b/deskutils/planner/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mrproject
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ftp://ftp.codefactory.se/pub/software/mrproject/source/
@@ -30,4 +31,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+post-install:
+ @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mrproject.sh > ${PREFIX}/etc/rc.d/000.mrproject.sh
+ @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mrproject.sh
+
.include <bsd.port.mk>
diff --git a/deskutils/planner/files/mrproject.sh b/deskutils/planner/files/mrproject.sh
new file mode 100644
index 000000000000..82e41f4d7b06
--- /dev/null
+++ b/deskutils/planner/files/mrproject.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject
+ /sbin/ldconfig -m %%PREFIX%%/lib/mrproject/views
+ ;;
+ stop)
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac