diff options
Diffstat (limited to 'deskutils/planner/Makefile')
-rw-r--r-- | deskutils/planner/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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> |