diff options
author | eadler <eadler@FreeBSD.org> | 2011-09-05 11:50:30 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2011-09-05 11:50:30 +0800 |
commit | ba47cfc77c9adab809e506bfcf5eab1a9389260d (patch) | |
tree | f27f9df05f57b8ff0eeb2a2abac3c7366b8fa7c4 /security/massh | |
parent | d4f9c3a7d244173296d2ebbe39866e6ca5f7689e (diff) | |
download | freebsd-ports-gnome-ba47cfc77c9adab809e506bfcf5eab1a9389260d.tar.gz freebsd-ports-gnome-ba47cfc77c9adab809e506bfcf5eab1a9389260d.tar.zst freebsd-ports-gnome-ba47cfc77c9adab809e506bfcf5eab1a9389260d.zip |
- Fix errors in port
Approved by: bapt (mentor)
Diffstat (limited to 'security/massh')
-rw-r--r-- | security/massh/Makefile | 5 |
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> |