svn commit: r395825 - head/databases/py-psycopg2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Sep 2 08:54:04 UTC 2015


Author: sunpoet
Date: Wed Sep  2 08:54:03 2015
New Revision: 395825
URL: https://svnweb.freebsd.org/changeset/ports/395825

Log:
  - Convert to new options target helper

Modified:
  head/databases/py-psycopg2/Makefile

Modified: head/databases/py-psycopg2/Makefile
==============================================================================
--- head/databases/py-psycopg2/Makefile	Wed Sep  2 08:41:48 2015	(r395824)
+++ head/databases/py-psycopg2/Makefile	Wed Sep  2 08:54:03 2015	(r395825)
@@ -21,9 +21,12 @@ USES=		pgsql python
 PORTDOCS=	AUTHORS INSTALL NEWS PKG-INFO README.rst
 PORTEXAMPLES=	*
 
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list