Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 08:34:41 +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: r348667 - head/databases/mysqlidxchk
Message-ID:  <201403200834.s2K8YfJa019106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 20 08:34:41 2014
New Revision: 348667
URL: http://svnweb.freebsd.org/changeset/ports/348667
QAT: https://qat.redports.org/buildarchive/r348667/

Log:
  - Support staging
  - Use shebangfix
  - Define DOCS option

Modified:
  head/databases/mysqlidxchk/Makefile

Modified: head/databases/mysqlidxchk/Makefile
==============================================================================
--- head/databases/mysqlidxchk/Makefile	Thu Mar 20 08:31:44 2014	(r348666)
+++ head/databases/mysqlidxchk/Makefile	Thu Mar 20 08:34:41 2014	(r348667)
@@ -17,20 +17,18 @@ RUN_DEPENDS=	p5-Term-ReadKey>=0:${PORTSD
 
 NO_WRKSUBDIR=	yes
 
-USES=		perl5
+USES=		perl5 shebangfix
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/mysqlidxchk
+SHEBANG_FILES=	mysqlidxchk
 PORTDOCS=	mysqlidxchkdoc.html mysqlidxchkguide.html
 
-NO_STAGE=	yes
-do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${PREFIX}/bin
+OPTIONS_DEFINE=	DOCS
 
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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