aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-14 21:45:16 +0800
committermiwi <miwi@FreeBSD.org>2009-10-14 21:45:16 +0800
commit7821a545493ca36e641bd80d322dc38ed6c80d9c (patch)
tree5c5f5aaa325f8d2709be9335a32f028cb29490cb /audio
parent3a1097b28367832faccb2a17e3dd3b4c32a6ee0f (diff)
downloadfreebsd-ports-gnome-7821a545493ca36e641bd80d322dc38ed6c80d9c.tar.gz
freebsd-ports-gnome-7821a545493ca36e641bd80d322dc38ed6c80d9c.tar.zst
freebsd-ports-gnome-7821a545493ca36e641bd80d322dc38ed6c80d9c.zip
- Update to 0.11.8
PR: 139514 Submitted by: Port Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/dir2ogg/Makefile30
-rw-r--r--audio/dir2ogg/distinfo6
2 files changed, 14 insertions, 22 deletions
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index c80b6bf7f4ab..7574b7cf1022 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= dir2ogg
-PORTVERSION= 0.11.6
+PORTVERSION= 0.11.8
CATEGORIES= audio
-MASTER_SITES= http://jak-linux.org/projects/dir2ogg/0.11/ \
- LOCAL/chinsan/dir2ogg
+MASTER_SITES= http://jak-linux.org/projects/dir2ogg/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
@@ -21,30 +21,22 @@ RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \
USE_PYTHON= yes
NO_BUILD= yes
-PLIST_FILES= bin/dir2ogg
-.if !defined(NOPORTDOCS)
-PLIST_DIRS= ${DOCSDIR_REL}
-PLIST_FILES+= ${DOCSDIR_REL}/README \
- ${DOCSDIR_REL}/NEWS
-.endif
-
-DOCS= README NEWS
-MAN1= dir2ogg.1
+MAN1= ${PORTNAME}.1
+PORTDOCS= NEWS README
+PLIST_FILES= bin/${PORTNAME}
post-patch:
- @${REINPLACE_CMD} -e '1 s/python/env python/' ${WRKSRC}/dir2ogg
+ @${REINPLACE_CMD} -e \
+ '/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/dir2ogg ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dir2ogg.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for doc in ${DOCS}
+.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
-post-install:
- @${ECHO} "dir2ogg is now installed. Enjoy..."
-
.include <bsd.port.mk>
diff --git a/audio/dir2ogg/distinfo b/audio/dir2ogg/distinfo
index 1473d17fe043..ec83bda6387a 100644
--- a/audio/dir2ogg/distinfo
+++ b/audio/dir2ogg/distinfo
@@ -1,3 +1,3 @@
-MD5 (dir2ogg-0.11.6.tar.gz) = da9b45219f2e604e06e2fecb58f66561
-SHA256 (dir2ogg-0.11.6.tar.gz) = cd3b6baa42a5ee0acde95f2ef41a2a56d9fd6be1c9877e8bba2bf15834f935dc
-SIZE (dir2ogg-0.11.6.tar.gz) = 19442
+MD5 (dir2ogg-0.11.8.tar.gz) = 39e76955886497d0262aa734b8bf2d06
+SHA256 (dir2ogg-0.11.8.tar.gz) = 0b6fd089fc1eb20cc92b7901c947ff6033ce04c897f9af9f962fa421a67ba7e0
+SIZE (dir2ogg-0.11.8.tar.gz) = 21145