svn commit: r346022 - head/sysutils/sortu

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 15:20:30 UTC 2014


Author: ehaupt
Date: Tue Feb 25 15:20:30 2014
New Revision: 346022
URL: http://svnweb.freebsd.org/changeset/ports/346022
QAT: https://qat.redports.org/buildarchive/r346022/

Log:
  Support staging

Modified:
  head/sysutils/sortu/Makefile

Modified: head/sysutils/sortu/Makefile
==============================================================================
--- head/sysutils/sortu/Makefile	Tue Feb 25 15:19:20 2014	(r346021)
+++ head/sysutils/sortu/Makefile	Tue Feb 25 15:20:30 2014	(r346022)
@@ -18,19 +18,11 @@ PLIST_FILES=	bin/sortu
 
 ALL_TARGET=	sortu
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sortu ${PREFIX}/bin
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/sortu ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list