Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 08:41:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337654 - head/shells/nologinmsg
Message-ID:  <201312270841.rBR8fU1Q036316@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 08:41:30 2013
New Revision: 337654
URL: http://svnweb.freebsd.org/changeset/ports/337654

Log:
  Support stage
  Allow packaging as a user
  Remove redundant strip (install -s already do it)

Modified:
  head/shells/nologinmsg/Makefile

Modified: head/shells/nologinmsg/Makefile
==============================================================================
--- head/shells/nologinmsg/Makefile	Fri Dec 27 08:39:32 2013	(r337653)
+++ head/shells/nologinmsg/Makefile	Fri Dec 27 08:41:30 2013	(r337654)
@@ -10,10 +10,8 @@ DISTFILES=	# none
 MAINTAINER=	freebsd-security@rikrose.net
 COMMENT=	More functional native binary replacement for /sbin/nologin
 
-MAN8=		nologinmsg.8
-MANCOMPRESSED=	yes
+USES=		uidfix
 
-NO_STAGE=	yes
 do-extract:
 	@${MKDIR} ${WRKSRC}
 .for i in Makefile nologinmsg.c nologinmsg.8 pathnames.h
@@ -25,9 +23,6 @@ post-patch:
 		${WRKSRC}/pathnames.h
 
 pre-install:
-	${MKDIR} ${PREFIX}/etc/nologinmsgs
-
-post-install:
-	${STRIP_CMD} ${PREFIX}/bin/nologinmsg
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/nologinmsgs
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312270841.rBR8fU1Q036316>