summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-10-10 15:53:53 +0000
committerjkim <jkim@FreeBSD.org>2012-10-10 15:53:53 +0000
commitff8f90cefba09e9e13466a6de51df57e101abbf9 (patch)
treee98df7ef762e033b08072e9b88a73fdf385a990f
parenta57a28e127190a3480cdbdddf5b77e998e650fa9 (diff)
downloadFreeBSD-ports-ff8f90cefba09e9e13466a6de51df57e101abbf9.zip
FreeBSD-ports-ff8f90cefba09e9e13466a6de51df57e101abbf9.tar.gz
Create a directory with default permissions to fix pkgng failure.
Reported by: bapt (via pkgng exp-run)
-rw-r--r--sysutils/amrstat/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/sysutils/amrstat/Makefile b/sysutils/amrstat/Makefile
index d66a208..da50684 100644
--- a/sysutils/amrstat/Makefile
+++ b/sysutils/amrstat/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: amrstat
-# Date created: 2006-04-11
-# Whom: "Bjoern A. Zeeb" <bzeeb+freebsd+ports@zabbadoz.net>
-#
+# Created by: Bjoern A. Zeeb <bzeeb+freebsd+ports@zabbadoz.net>
# $FreeBSD$
-#
PORTNAME= amrstat
PORTVERSION= 20070216
@@ -39,7 +35,8 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/amrstat ${PREFIX}/sbin
- ${INSTALL_SCRIPT} -d ${PREFIX}/etc/periodic/daily
- ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
+ ${MKDIR} ${PREFIX}/etc/periodic/daily
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} \
+ ${PREFIX}/etc/periodic/daily
.include <bsd.port.mk>
OpenPOWER on IntegriCloud