svn commit: r331984 - head/security/mac-robber

Antoine Brodin antoine at FreeBSD.org
Tue Oct 29 19:47:34 UTC 2013


Author: antoine
Date: Tue Oct 29 19:47:33 2013
New Revision: 331984
URL: http://svnweb.freebsd.org/changeset/ports/331984

Log:
  Convert to STAGEDIR
  
  Followup of PR:	178208

Modified:
  head/security/mac-robber/Makefile

Modified: head/security/mac-robber/Makefile
==============================================================================
--- head/security/mac-robber/Makefile	Tue Oct 29 19:34:23 2013	(r331983)
+++ head/security/mac-robber/Makefile	Tue Oct 29 19:47:33 2013	(r331984)
@@ -14,19 +14,18 @@ LICENSE=	GPLv2
 PLIST_FILES=	bin/mac-robber
 PORTDOCS=	CHANGES README
 
-NO_STAGE=	yes
 do-build:
 	cd ${WRKSRC}; ${CC} ${CFLAGS} -o mac-robber mac-robber.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list