Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 21:29:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403471 - head/databases/gadfly
Message-ID:  <201512102129.tBALT8vp056535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 10 21:29:07 2015
New Revision: 403471
URL: https://svnweb.freebsd.org/changeset/ports/403471

Log:
  - Add NO_ARCH
  - Switch to options helpers
  - Unsilence installation

Modified:
  head/databases/gadfly/Makefile

Modified: head/databases/gadfly/Makefile
==============================================================================
--- head/databases/gadfly/Makefile	Thu Dec 10 21:27:30 2015	(r403470)
+++ head/databases/gadfly/Makefile	Thu Dec 10 21:29:07 2015	(r403471)
@@ -14,23 +14,20 @@ RUN_DEPENDS=	${PYTHON_SITELIBDIR}/kjbuck
 
 USES=		python:2
 USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/kjParsing
-	@${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
+	${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
 		${STAGEDIR}${EXAMPLESDIR}/kjParsing
-.endif
 
 .include <bsd.port.mk>



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