Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 07:29:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346236 - head/news/slnr
Message-ID:  <201402270729.s1R7TJIQ086888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 07:29:19 2014
New Revision: 346236
URL: http://svnweb.freebsd.org/changeset/ports/346236
QAT: https://qat.redports.org/buildarchive/r346236/

Log:
  Support staging

Modified:
  head/news/slnr/Makefile
  head/news/slnr/pkg-plist

Modified: head/news/slnr/Makefile
==============================================================================
--- head/news/slnr/Makefile	Thu Feb 27 00:19:12 2014	(r346235)
+++ head/news/slnr/Makefile	Thu Feb 27 07:29:19 2014	(r346236)
@@ -11,22 +11,16 @@ COMMENT=	Simplistic reader for SOUP (HDP
 
 RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
-MAN1=		slnr.1
-
 MAKEFILE=	src/Makefile
 
 DOCFILES=	${FILESDIR}/porting.notes other/soup12.doc other/slnr.doc \
 		LICENSE other/default.dot.slnrrc
 
-NO_STAGE=	yes
 do-install:
-.if !defined{NOPORTDOCS}
-	@${ECHO_MSG} "===>  Copying documents to ${PREFIX}/share/doc/slnr"
-	@${MKDIR} ${PREFIX}/share/doc/slnr
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/slnr
 	@cd ${WRKSRC}; \
-		${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/slnr
-.endif
-	${INSTALL_MAN} ${WRKSRC}/other/slnr.1 ${PREFIX}/man/man1/slnr.1
-	${INSTALL_PROGRAM} ${WRKSRC}/slnr ${PREFIX}/bin
+		${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/other/slnr.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/slnr ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/news/slnr/pkg-plist
==============================================================================
--- head/news/slnr/pkg-plist	Thu Feb 27 00:19:12 2014	(r346235)
+++ head/news/slnr/pkg-plist	Thu Feb 27 07:29:19 2014	(r346236)
@@ -1,7 +1,8 @@
 bin/slnr
-share/doc/slnr/LICENSE
-share/doc/slnr/porting.notes
-share/doc/slnr/soup12.doc
-share/doc/slnr/slnr.doc
-share/doc/slnr/default.dot.slnrrc
-@dirrm share/doc/slnr
+man/man1/slnr.1.gz
+%%DOCSDIR%%/LICENSE
+%%DOCSDIR%%/default.dot.slnrrc
+%%DOCSDIR%%/porting.notes
+%%DOCSDIR%%/slnr.doc
+%%DOCSDIR%%/soup12.doc
+@dirrm %%DOCSDIR%%



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