svn commit: r377106 - head/databases/py-cdb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jan 15 16:38:35 UTC 2015


Author: sunpoet
Date: Thu Jan 15 16:38:33 2015
New Revision: 377106
URL: https://svnweb.freebsd.org/changeset/ports/377106
QAT: https://qat.redports.org/buildarchive/r377106/

Log:
  - Use PORTDOCS and PORTEXAMPLES
  - Simplify Makefile
  - Remove Author line

Deleted:
  head/databases/py-cdb/pkg-plist
Modified:
  head/databases/py-cdb/Makefile
  head/databases/py-cdb/pkg-descr

Modified: head/databases/py-cdb/Makefile
==============================================================================
--- head/databases/py-cdb/Makefile	Thu Jan 15 16:35:54 2015	(r377105)
+++ head/databases/py-cdb/Makefile	Thu Jan 15 16:38:33 2015	(r377106)
@@ -17,21 +17,15 @@ USE_PYTHON=	distutils autoplist
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 
-DOCS=		ChangeLog README
-EXAMPLES=	Example
+PORTDOCS=	ChangeLog README
+PORTEXAMPLES=	Example
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/databases/py-cdb/pkg-descr
==============================================================================
--- head/databases/py-cdb/pkg-descr	Thu Jan 15 16:35:54 2015	(r377105)
+++ head/databases/py-cdb/pkg-descr	Thu Jan 15 16:38:33 2015	(r377106)
@@ -6,5 +6,4 @@ lookups and atomic updates.  This module
 utilities (cdb(get|dump|make)) via convenient high-level Python
 objects.
 
-Author: MJ Pomraning <mjp at pilcrow.madison.wi.us>
 WWW: http://pilcrow.madison.wi.us/#pycdb


More information about the svn-ports-head mailing list