aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mcweject
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-15 05:27:51 +0800
committerantoine <antoine@FreeBSD.org>2014-09-15 05:27:51 +0800
commitdb3ccd9b633b3dac2b54192794ae37bcb1a90083 (patch)
tree703b3d944109e8c057d2a6b2d3207d6c12178538 /sysutils/mcweject
parent0f895444a38b2cc41eb8e7839ae0087957058632 (diff)
downloadfreebsd-ports-gnome-db3ccd9b633b3dac2b54192794ae37bcb1a90083.tar.gz
freebsd-ports-gnome-db3ccd9b633b3dac2b54192794ae37bcb1a90083.tar.zst
freebsd-ports-gnome-db3ccd9b633b3dac2b54192794ae37bcb1a90083.zip
Allow staging as a regular user
Diffstat (limited to 'sysutils/mcweject')
-rw-r--r--sysutils/mcweject/Makefile6
-rw-r--r--sysutils/mcweject/pkg-plist2
2 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/mcweject/Makefile b/sysutils/mcweject/Makefile
index cd2fcd98c83c..50bab07fcd20 100644
--- a/sysutils/mcweject/Makefile
+++ b/sysutils/mcweject/Makefile
@@ -18,6 +18,10 @@ CONFLICTS= eject-[0-9]*
USES= tar:xz
-MAKE_ARGS+= STAGEDIR=${STAGEDIR}
+do-install:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eject.allow ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/eject ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/eject.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/sysutils/mcweject/pkg-plist b/sysutils/mcweject/pkg-plist
index a15b12219776..553f89d6999e 100644
--- a/sysutils/mcweject/pkg-plist
+++ b/sysutils/mcweject/pkg-plist
@@ -1,4 +1,4 @@
man/man1/eject.1.gz
-sbin/eject
+@(,,4511) sbin/eject
%%EXAMPLESDIR%%/eject.allow
@dirrmtry %%EXAMPLESDIR%%