diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile index d21e093d472c..452682146f3e 100644 --- a/irc/inspircd/Makefile +++ b/irc/inspircd/Makefile @@ -3,6 +3,7 @@ PORTNAME= inspircd PORTVERSION= 2.0.14 +PORTREVISION= 1 CATEGORIES= irc MAINTAINER= feld@FreeBSD.org diff --git a/irc/inspircd/files/inspircd.in b/irc/inspircd/files/inspircd.in index 5bb1048d5ab6..ffc5bccfdcd0 100644 --- a/irc/inspircd/files/inspircd.in +++ b/irc/inspircd/files/inspircd.in @@ -47,11 +47,11 @@ inspircd_prestart() { piddir=$(dirname ${inspircd_pidfile}) if [ ! -d ${piddir} ]; then - install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir} + install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir} fi logdir=$(dirname ${inspircd_logfile}) if [ ! -d ${logdir} ]; then - install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir} + install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir} fi }