aboutsummaryrefslogtreecommitdiff
path: root/sysutils/jailctl
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-27 02:16:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-27 02:16:34 +0000
commit31c3fd84f2b9fc13e06b5d049701030a8de7e407 (patch)
tree0316f793216070b6599c090e2767a813501780bd /sysutils/jailctl
parenteb4cc797a35a4e6cfe1074c46c9580053d4938df (diff)
downloadports-31c3fd84f2b9fc13e06b5d049701030a8de7e407.tar.gz
ports-31c3fd84f2b9fc13e06b5d049701030a8de7e407.zip
Notes
Diffstat (limited to 'sysutils/jailctl')
-rw-r--r--sysutils/jailctl/Makefile7
-rw-r--r--sysutils/jailctl/files/patch-Makefile18
-rw-r--r--sysutils/jailctl/pkg-plist6
3 files changed, 24 insertions, 7 deletions
diff --git a/sysutils/jailctl/Makefile b/sysutils/jailctl/Makefile
index 4cc5697ad055..4130c0b1ad2c 100644
--- a/sysutils/jailctl/Makefile
+++ b/sysutils/jailctl/Makefile
@@ -3,19 +3,16 @@
PORTNAME= jailctl
PORTVERSION= 0.80
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://anduin.net/jailctl/
MAINTAINER= ltning-jailctl@anduin.net
COMMENT= Jail management tool
-MAN1= jailctl.1 \
- jails.conf.1
-MANCOMPRESSED= yes
+LICENSE= BSD3CLAUSE
NO_BUILD= yes
-
WRKSRC= ${WRKDIR}/jailctl
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/jailctl/files/patch-Makefile b/sysutils/jailctl/files/patch-Makefile
new file mode 100644
index 000000000000..d49c49dbb057
--- /dev/null
+++ b/sysutils/jailctl/files/patch-Makefile
@@ -0,0 +1,18 @@
+--- Makefile.orig 2014-06-27 10:13:06.740734383 +0800
++++ Makefile 2014-06-27 10:13:33.015750707 +0800
+@@ -1,8 +1,8 @@
+ install:
+- @install jailctl ${PREFIX}/sbin
+- @install jailctl.1.gz ${PREFIX}/man/man1
+- @install jails.conf.1.gz ${PREFIX}/man/man1
+- @install jails.conf.sample ${PREFIX}/etc
+- @install jails.sh ${PREFIX}/etc/rc.d
+- @install -d ${PREFIX}/jails
+- @cp -R addons ${PREFIX}/jails
++ @install jailctl $(DESTDIR)${PREFIX}/sbin
++ @install jailctl.1.gz $(DESTDIR)${PREFIX}/man/man1
++ @install jails.conf.1.gz $(DESTDIR)${PREFIX}/man/man1
++ @install jails.conf.sample $(DESTDIR)${PREFIX}/etc
++ @install jails.sh $(DESTDIR)${PREFIX}/etc/rc.d
++ @install -d $(DESTDIR)${PREFIX}/jails
++ @cp -R addons $(DESTDIR)${PREFIX}/jails
diff --git a/sysutils/jailctl/pkg-plist b/sysutils/jailctl/pkg-plist
index 7aeb80115bdd..c391f51d712a 100644
--- a/sysutils/jailctl/pkg-plist
+++ b/sysutils/jailctl/pkg-plist
@@ -1,11 +1,13 @@
-etc/jails.conf.sample
+@sample etc/jails.conf.sample
+etc/rc.d/jails.sh
jails/addons/dellist4.txt
jails/addons/dellist5.txt
jails/addons/etc/login.conf
jails/addons/etc/make.conf
jails/addons/runme.sh
+man/man1/jailctl.1.gz
+man/man1/jails.conf.1.gz
sbin/jailctl
-etc/rc.d/jails.sh
@dirrm jails/addons/etc
@dirrm jails/addons
@dirrm jails