- switch to new CPAN_MODULES

This commit is contained in:
jasper 2010-10-01 21:57:53 +00:00
parent cfb174278e
commit b60db7669e
4 changed files with 13 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2010/09/29 17:19:30 jasper Exp $
# $OpenBSD: Makefile,v 1.17 2010/10/01 21:57:53 jasper Exp $
COMMENT= module for communicating with MPD servers
DISTNAME= Audio-MPD-1.102260
@ -14,6 +14,7 @@ PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
CPAN_AUTHOR= JQUELIN
MODCPAN_EXAMPLES= Yes
CONFIGURE_STYLE= modbuild
@ -26,9 +27,4 @@ REGRESS_DEPENDS= ::devel/p5-Getopt-Euclid \
::devel/p5-MooseX-SemiAffordanceAccessor \
::devel/p5-Test-Corpus-Audio-MPD
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Audio-MPD
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
${PREFIX}/share/examples/p5-Audio-MPD
.include <bsd.port.mk>

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2008/10/02 18:35:13 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2010/10/01 21:57:53 jasper Exp $
COMMENT= module to submit songs to last.fm from MPD
DISTNAME= Music-Audioscrobbler-MPD-0.13
REVISION= 0
CATEGORIES= audio
# perl
@ -12,15 +13,12 @@ PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
CPAN_AUTHOR= EALLENIII
MODCPAN_EXAMPLES= Yes
RUN_DEPENDS= ::audio/p5-Music-Audioscrobbler-Submit \
::devel/p5-Proc-Daemon
EG_DIR= ${PREFIX}/share/examples/p5-Music-Audioscrobbler-MPD
post-install:
${INSTALL_DATA_DIR} ${EG_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/musicmpdscrobble_example.conf \
${EG_DIR}/musicmpdscrobble.conf
post-configure:
@rm -f ${WRKSRC}/examples/*.orig
.include <bsd.port.mk>

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/27 19:50:37 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/10/01 21:57:53 jasper Exp $
bin/musicmpdscrobble
${P5SITE}/Music/Audioscrobbler/MPD.pm
@man man/man1/musicmpdscrobble.1
@man man/man3p/Music::Audioscrobbler::MPD.3p
share/examples/p5-Music-Audioscrobbler-MPD/
share/examples/p5-Music-Audioscrobbler-MPD/musicmpdscrobble.conf
share/examples/p5-Music-Audioscrobbler-MPD/gentoo_init_script
share/examples/p5-Music-Audioscrobbler-MPD/musicmpdscrobble_example.conf

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2009/03/22 20:31:20 jasper Exp $
# $OpenBSD: Makefile,v 1.7 2010/10/01 21:57:53 jasper Exp $
COMMENT= complete MPD client library
@ -14,6 +14,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIST= bin
RUN_DEPENDS= :p5-Audio-MPD-Common->=0.1.4:audio/p5-Audio-MPD-Common \
::devel/p5-Class-Accessor \
@ -25,9 +27,4 @@ PORTHOME= ${WRKDIR}
CONFIGURE_STYLE= modbuild
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-POE-Component-Client-MPD
${INSTALL_DATA} ${WRKSRC}/bin/client.pl \
${PREFIX}/share/examples/p5-POE-Component-Client-MPD
.include <bsd.port.mk>