aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3mover
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3mover')
-rw-r--r--audio/mp3mover/Makefile16
-rw-r--r--audio/mp3mover/distinfo2
-rw-r--r--audio/mp3mover/pkg-plist8
3 files changed, 16 insertions, 10 deletions
diff --git a/audio/mp3mover/Makefile b/audio/mp3mover/Makefile
index acd41d8ec68..f091489ff39 100644
--- a/audio/mp3mover/Makefile
+++ b/audio/mp3mover/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mp3mover
-PORTVERSION= 1.432
+PORTVERSION= 2.1.1
CATEGORIES= audio perl5
MASTER_SITES= http://www.doc.ic.ac.uk/~jsm00/scripts/
@@ -17,14 +17,18 @@ COMMENT= Rename mp3s and manipulate them
RUN_DEPENDS= ${SITE_PERL}/MP3/Tag.pm:${PORTSDIR}/audio/p5-tagged
USE_PERL5= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${PREFIX}/bin/mp3mover
- @${MKDIR} ${PREFIX}/share/${PORTNAME}
- ${CP} ${WRKSRC}/sample-.mp3moverrc ${PREFIX}/share/${PORTNAME}
- ${CP} ${WRKSRC}/shellperfect-.mp3moverrc ${PREFIX}/share/${PORTNAME}
+ @${MKDIR} ${DATADIR}
+ ${CP} ${WRKSRC}/sample-.mp3moverrc ${DATADIR}
+ ${CP} ${WRKSRC}/shellperfect-.mp3moverrc ${DATADIR}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/audio/mp3mover/distinfo b/audio/mp3mover/distinfo
index 9f58708d5aa..ee025303a15 100644
--- a/audio/mp3mover/distinfo
+++ b/audio/mp3mover/distinfo
@@ -1 +1 @@
-MD5 (mp3mover-1.432.tar.gz) = 261d365008046fb1f790ae2ffe81a415
+MD5 (mp3mover-2.1.1.tar.gz) = 3c9efe972653f763b114511dc4592a31
diff --git a/audio/mp3mover/pkg-plist b/audio/mp3mover/pkg-plist
index 15fe2aa40cc..c810cbd170b 100644
--- a/audio/mp3mover/pkg-plist
+++ b/audio/mp3mover/pkg-plist
@@ -1,4 +1,6 @@
bin/mp3mover
-share/mp3mover/sample-.mp3moverrc
-share/mp3mover/shellperfect-.mp3moverrc
-@dirrm share/mp3mover
+%%PORTDOCS%%%%DOCSDIR%%/readme
+%%DATADIR%%/sample-.mp3moverrc
+%%DATADIR%%/shellperfect-.mp3moverrc
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%