Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2015 16:38:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377106 - head/databases/py-cdb
Message-ID:  <201501151638.t0FGcY8D068389@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@pilcrow.madison.wi.us>
 WWW: http://pilcrow.madison.wi.us/#pycdb



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