From 37d79d944c64d0a7b323a2f226370a79e4f87c41 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 10 Jun 2004 10:06:55 +0000 Subject: upgrade to 1.2b --- audio/cymbaline/Makefile | 23 ++++++++++++++--------- audio/cymbaline/distinfo | 4 ++-- audio/cymbaline/pkg-plist | 6 ------ 3 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 audio/cymbaline/pkg-plist (limited to 'audio/cymbaline') diff --git a/audio/cymbaline/Makefile b/audio/cymbaline/Makefile index a0b7b92fd285..418133ac2dff 100644 --- a/audio/cymbaline/Makefile +++ b/audio/cymbaline/Makefile @@ -7,8 +7,8 @@ # PORTNAME= cymbaline -PORTVERSION= 0.9r -PORTREVISION= 2 +PORTVERSION= 1.2b +PORTREVISION= 0 CATEGORIES= audio python MASTER_SITES= http://www.silmarill.org/files/ @@ -19,16 +19,21 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \ aumix:${PORTSDIR}/audio/aumix USE_PYTHON= yes -NO_BUILD= yes - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/cymbaline.py ${PREFIX}/bin/cymbaline -.for file in ID3.py cycolors.py mp3.py - ${INSTALL_DATA} ${WRKSRC}/${file} ${PYTHON_SITELIBDIR} -.endfor +USE_PYDISTUTILS= yes .if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +PLIST_FILES= bin/cymbaline + post-install: + @${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline + @${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif diff --git a/audio/cymbaline/distinfo b/audio/cymbaline/distinfo index eb38144aca9c..23d88ddf9619 100644 --- a/audio/cymbaline/distinfo +++ b/audio/cymbaline/distinfo @@ -1,2 +1,2 @@ -MD5 (cymbaline-0.9r.tar.gz) = 29ecb3ef701ff7cdc6b40950ab6ca7eb -SIZE (cymbaline-0.9r.tar.gz) = 43710 +MD5 (cymbaline-1.2b.tar.gz) = b080ef0997f59503683e66db4f78c869 +SIZE (cymbaline-1.2b.tar.gz) = 43978 diff --git a/audio/cymbaline/pkg-plist b/audio/cymbaline/pkg-plist deleted file mode 100644 index 9d2aa7fc835a..000000000000 --- a/audio/cymbaline/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/cymbaline -lib/%%PYTHON_VERSION%%/site-packages/ID3.py -lib/%%PYTHON_VERSION%%/site-packages/cycolors.py -lib/%%PYTHON_VERSION%%/site-packages/mp3.py -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3