aboutsummaryrefslogtreecommitdiff
path: root/security/massh
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-09-05 03:50:30 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-09-05 03:50:30 +0000
commit86ce0d9bebe57eeeb5cc2df6a771cbd71ece60dd (patch)
treed395aab30b5c27a104a4166bd1b16bfbefb7c25e /security/massh
parent03389973a52c5ca019f9a6dab4ceb8cb26e3b48a (diff)
downloadports-86ce0d9bebe57eeeb5cc2df6a771cbd71ece60dd.tar.gz
ports-86ce0d9bebe57eeeb5cc2df6a771cbd71ece60dd.zip
Notes
Diffstat (limited to 'security/massh')
-rw-r--r--security/massh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/massh/Makefile b/security/massh/Makefile
index b19e1d8a065f..4edb12914b5c 100644
--- a/security/massh/Makefile
+++ b/security/massh/Makefile
@@ -49,9 +49,10 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/massh ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/usr/lib/massh/libmassh.sh ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/etc/massh/massh.conf ${PREFIX}/etc/massh.conf.example
- @if [ ! - ${PREFIX}/etc/${PORTNAME}.conf ]; \
+ @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; \
+ then \
${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.example ${PREFIX}/etc/${PORTNAME}.conf; \
fi
- ${INSTALL_MAN} ${WRKSRC}/usr/share/man/man1/massh.1.gz ${MAN1PREFIX}
+ ${INSTALL_MAN} ${WRKSRC}/usr/share/man/man1/massh.1.gz ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>