Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 13:00:16 +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: r346322 - head/www/bkmrkconv
Message-ID:  <201402271300.s1RD0GNB050725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 13:00:16 2014
New Revision: 346322
URL: http://svnweb.freebsd.org/changeset/ports/346322
QAT: https://qat.redports.org/buildarchive/r346322/

Log:
  Support staging

Modified:
  head/www/bkmrkconv/Makefile

Modified: head/www/bkmrkconv/Makefile
==============================================================================
--- head/www/bkmrkconv/Makefile	Thu Feb 27 12:58:01 2014	(r346321)
+++ head/www/bkmrkconv/Makefile	Thu Feb 27 13:00:16 2014	(r346322)
@@ -12,21 +12,21 @@ COMMENT=	Netscape bookmarks.html convert
 USES=		perl5
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -i '' -e \
 		's|/usr/bin/perl|${PERL}|g ; \
 		 s|%%PREFIX%%|${PREFIX}|g'
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl ${PREFIX}/bin/bkmrkconv
-	@${MKDIR} ${DATADIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${DATADIR}
-	@${MKDIR} ${DATADIR}/src
-	${INSTALL_DATA} ${WRKSRC}/src.example/* ${DATADIR}/src
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl \
+		${STAGEDIR}${PREFIX}/bin/bkmrkconv
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/src
+	${INSTALL_DATA} ${WRKSRC}/src.example/* ${STAGEDIR}${DATADIR}/src
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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