svn commit: r338946 - head/textproc/rot

Antoine Brodin antoine at FreeBSD.org
Mon Jan 6 21:50:27 UTC 2014


Author: antoine
Date: Mon Jan  6 21:50:26 2014
New Revision: 338946
URL: http://svnweb.freebsd.org/changeset/ports/338946

Log:
  Stage support

Modified:
  head/textproc/rot/Makefile

Modified: head/textproc/rot/Makefile
==============================================================================
--- head/textproc/rot/Makefile	Mon Jan  6 21:47:06 2014	(r338945)
+++ head/textproc/rot/Makefile	Mon Jan  6 21:50:26 2014	(r338946)
@@ -14,15 +14,13 @@ COMMENT=	Rotates a file so that lines be
 ALL_TARGET=	${PORTNAME}
 CFLAGS+=	-Wno-return-type
 
-MAN1=		rot.1
-PLIST_FILES=	bin/rot
+PLIST_FILES=	bin/rot man/man1/rot.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} "s:^CFLAGS=:#CFLAGS=:" ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/rot ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/rot.man ${MAN1PREFIX}/man/man1/rot.1
+	${INSTALL_PROGRAM} ${WRKSRC}/rot ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/rot.man ${STAGEDIR}${MAN1PREFIX}/man/man1/rot.1
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list