svn commit: r368231 - head/sysutils/mcweject

Antoine Brodin antoine at FreeBSD.org
Sun Sep 14 21:27:52 UTC 2014


Author: antoine
Date: Sun Sep 14 21:27:51 2014
New Revision: 368231
URL: http://svnweb.freebsd.org/changeset/ports/368231
QAT: https://qat.redports.org/buildarchive/r368231/

Log:
  Allow staging as a regular user

Modified:
  head/sysutils/mcweject/Makefile
  head/sysutils/mcweject/pkg-plist

Modified: head/sysutils/mcweject/Makefile
==============================================================================
--- head/sysutils/mcweject/Makefile	Sun Sep 14 21:19:21 2014	(r368230)
+++ head/sysutils/mcweject/Makefile	Sun Sep 14 21:27:51 2014	(r368231)
@@ -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>

Modified: head/sysutils/mcweject/pkg-plist
==============================================================================
--- head/sysutils/mcweject/pkg-plist	Sun Sep 14 21:19:21 2014	(r368230)
+++ head/sysutils/mcweject/pkg-plist	Sun Sep 14 21:27:51 2014	(r368231)
@@ -1,4 +1,4 @@
 man/man1/eject.1.gz
-sbin/eject
+@(,,4511) sbin/eject
 %%EXAMPLESDIR%%/eject.allow
 @dirrmtry %%EXAMPLESDIR%%


More information about the svn-ports-head mailing list