From db3ccd9b633b3dac2b54192794ae37bcb1a90083 Mon Sep 17 00:00:00 2001 From: antoine Date: Sun, 14 Sep 2014 21:27:51 +0000 Subject: Allow staging as a regular user --- sysutils/mcweject/Makefile | 6 +++++- sysutils/mcweject/pkg-plist | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sysutils/mcweject') 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 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%% -- cgit