aboutsummaryrefslogtreecommitdiff
path: root/audio/cymbaline
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-10 10:06:55 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-10 10:06:55 +0000
commit37d79d944c64d0a7b323a2f226370a79e4f87c41 (patch)
tree910df147d77921a86ec2641949d8307dd07873b2 /audio/cymbaline
parentd288ced423efc9426657d64daaf944774b75fb5a (diff)
downloadports-37d79d944c64d0a7b323a2f226370a79e4f87c41.tar.gz
ports-37d79d944c64d0a7b323a2f226370a79e4f87c41.zip
Notes
Diffstat (limited to 'audio/cymbaline')
-rw-r--r--audio/cymbaline/Makefile23
-rw-r--r--audio/cymbaline/distinfo4
-rw-r--r--audio/cymbaline/pkg-plist6
3 files changed, 16 insertions, 17 deletions
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%%