- switch to new MODCPAN_EXAMPLES

This commit is contained in:
jasper 2010-10-01 22:00:04 +00:00
parent 776faef6ea
commit b6ee272f61

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2010/09/17 17:26:51 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2010/10/01 22:00:04 jasper Exp $
COMMENT= non-blocking CouchDB client based on jquery.couch.js
@ -7,6 +7,8 @@ REVISION= 0
CATEGORIES= databases devel
MODULES= cpan
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIST= eg
# MIT
PERMIT_PACKAGE_CDROM= Yes
@ -18,9 +20,4 @@ RUN_DEPENDS= ::databases/p5-CouchDB-View \
::devel/p5-AnyEvent-HTTP \
::devel/p5-IO-All
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-AnyEvent-CouchDB/
${INSTALL_DATA} ${WRKSRC}/eg/* \
${PREFIX}/share/examples/p5-AnyEvent-CouchDB/
.include <bsd.port.mk>