Call pkginstall script with correct arguments and after murmur

user and group is created. This fixes creation of dirs needed
for running mumrmurd daemon for users building from port.

PR:		ports/171699
Reported by:	Michael Fausten <ports@michael-fausten.de>
Approved by:	maintainer timeout (2 months)
Feature safe:	yes
This commit is contained in:
Pawel Pekala 2012-11-13 21:56:08 +00:00
parent 83b0812716
commit 03551b1e24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307399

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: murmur
# Date created: 2009-08-03
# Whom: Ayumi M <ayu@commun.jp>
#
# Created by: Ayumi M <ayu@commun.jp>
# $FreeBSD$
#
PORTNAME= murmur
PORTVERSION= 1.2.3
@ -60,9 +56,6 @@ do-configure:
@cd ${WRKSRC} && ${SETENV} QMAKESPEC=${QMAKESPEC} \
${QMAKE} -unix PREFIX=${PREFIX} ${QMAKEFLAGS} main.pro "CONFIG+=${CONFIG}"
pre-su-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
pre-install:
@${SED} -i '' -e 's|database=.*|database=/var/db/murmur/murmur.sqlite|' ${WRKSRC}/scripts/murmur.ini
@${SED} -i '' -e 's|#pidfile=.*|pidfile=/var/run/murmur/murmur.pid|' ${WRKSRC}/scripts/murmur.ini
@ -83,4 +76,7 @@ do-install:
.endfor
.endif
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>