aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-06 14:47:28 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-06 14:47:28 +0000
commitf0adc296635827f2953f0fe748497e164abf3795 (patch)
tree1822b49744a69f0ad4a5a0a9e7ba0e63eda2fc0e /sysutils
parent865d70cc61b3dbf064fcb3a5560be88532b3a2a9 (diff)
downloadports-f0adc296635827f2953f0fe748497e164abf3795.tar.gz
ports-f0adc296635827f2953f0fe748497e164abf3795.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdeploy/Makefile16
-rw-r--r--sysutils/cdeploy/files/patch-Makefile14
2 files changed, 20 insertions, 10 deletions
diff --git a/sysutils/cdeploy/Makefile b/sysutils/cdeploy/Makefile
index 9ca1dbc0ac83..724994038001 100644
--- a/sysutils/cdeploy/Makefile
+++ b/sysutils/cdeploy/Makefile
@@ -1,20 +1,16 @@
# Created by: jfreund
# $FreeBSD$
-PORTNAME= cdeploy
+PORTNAME= cdeploy
PORTVERSION= 0.2.1
-CATEGORIES= sysutils
+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
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Deploy a set of configuration files to a target file system
-USE_BZIP2= yes
+USES= tar:bzip2
-MAN1= cdeploy.1
-MANCOMPRESSED= yes
+PLIST_FILES= man/man1/cdeploy.1.gz sbin/cdeploy
-PLIST_FILES= sbin/cdeploy
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/cdeploy/files/patch-Makefile b/sysutils/cdeploy/files/patch-Makefile
new file mode 100644
index 000000000000..8eb7240b7321
--- /dev/null
+++ b/sysutils/cdeploy/files/patch-Makefile
@@ -0,0 +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
++ install -o root -g wheel -m 0555 cdeploy.sh $(DESTDIR)$(PREFIX)/sbin/cdeploy
++ install -o root -g wheel -m 0444 cdeploy.1 $(DESTDIR)$(PREFIX)/man/man1/cdeploy.1
+
+ deinstall:
+ rm -f /usr/local/sbin/cdeploy