aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jailctl
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 10:16:34 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 10:16:34 +0800
commitdc8c4aa733848215d613e706e9a7dfad72ea9096 (patch)
tree0316f793216070b6599c090e2767a813501780bd /sysutils/jailctl
parent3b885f66062d1045ed1317cb4a55527ca54ac313 (diff)
downloadfreebsd-ports-gnome-dc8c4aa733848215d613e706e9a7dfad72ea9096.tar.gz
freebsd-ports-gnome-dc8c4aa733848215d613e706e9a7dfad72ea9096.tar.zst
freebsd-ports-gnome-dc8c4aa733848215d613e706e9a7dfad72ea9096.zip
1: Stagify.
2: add LICENSE 3: use @sample, bump version. Approved by: portmgr@ (blanket approval)
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