diff --git a/sysutils/cdeploy/Makefile b/sysutils/cdeploy/Makefile index e40397a9e0bb..59119257faf7 100644 --- a/sysutils/cdeploy/Makefile +++ b/sysutils/cdeploy/Makefile @@ -1,14 +1,15 @@ PORTNAME= cdeploy PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/root-tools/cdeploy/0.2 MAINTAINER= ports@FreeBSD.org COMMENT= Deploy a set of configuration files to a target file system WWW= https://sourceforge.net/projects/root-tools/ USES= tar:bzip2 -PLIST_FILES= man/man1/cdeploy.1.gz sbin/cdeploy +PLIST_FILES= share/man/man1/cdeploy.1.gz sbin/cdeploy .include diff --git a/sysutils/cdeploy/files/patch-Makefile b/sysutils/cdeploy/files/patch-Makefile index c85e95a235b6..51800d10497f 100644 --- a/sysutils/cdeploy/files/patch-Makefile +++ b/sysutils/cdeploy/files/patch-Makefile @@ -1,14 +1,14 @@ --- Makefile.orig 2014-06-06 22:45:04.941118895 +0800 +++ Makefile 2014-06-06 22:45:42.650118186 +0800 @@ -5,9 +5,8 @@ all: chmod 0555 cdeploy install: - install -o root -g wheel -m 0555 cdeploy.sh /usr/local/sbin/cdeploy - install -o root -g wheel -m 0444 cdeploy.1 /usr/local/man/man1/cdeploy.1 - gzip -f9 /usr/local/man/man1/cdeploy.1 + $(BSD_INSTALL_SCRIPT) cdeploy.sh $(DESTDIR)$(PREFIX)/sbin/cdeploy -+ $(BSD_INSTALL_MAN) cdeploy.1 $(DESTDIR)$(PREFIX)/man/man1/cdeploy.1 ++ $(BSD_INSTALL_MAN) cdeploy.1 $(DESTDIR)$(PREFIX)/share/man/man1/cdeploy.1 deinstall: rm -f /usr/local/sbin/cdeploy