Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:03:17 +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: r346155 - head/textproc/makefaq
Message-ID:  <201402260903.s1Q93Hp7014146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 26 09:03:17 2014
New Revision: 346155
URL: http://svnweb.freebsd.org/changeset/ports/346155
QAT: https://qat.redports.org/buildarchive/r346155/

Log:
  Support staging

Modified:
  head/textproc/makefaq/Makefile

Modified: head/textproc/makefaq/Makefile
==============================================================================
--- head/textproc/makefaq/Makefile	Wed Feb 26 09:02:04 2014	(r346154)
+++ head/textproc/makefaq/Makefile	Wed Feb 26 09:03:17 2014	(r346155)
@@ -13,21 +13,17 @@ COMMENT=	Makefaq is a Python program tha
 USE_PYTHON=	yes
 NO_BUILD=	yes
 
-MAN1=		makefaq.1
-PLIST_FILES=	bin/makefaq.py
+PLIST_FILES=	bin/makefaq.py man/man1/makefaq.1.gz
 PORTDOCS=	README UPGRADING faq.html
 
-NO_STAGE=	yes
-do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/makefaq.py ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/makefaq.1  ${MAN1PREFIX}/man/man1
+OPTIONS_DEFINE=	DOCS
 
-post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/makefaq.py ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/makefaq.1  ${STAGEDIR}${MANPREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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