- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
37 lines
904 B
Makefile
37 lines
904 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dir2ogg
|
|
PORTVERSION= 0.11.8
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://jak-linux.org/projects/dir2ogg/${PORTVERSION:R}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \
|
|
mutagen-inspect:${PORTSDIR}/audio/py-mutagen \
|
|
mplayer:${PORTSDIR}/multimedia/mplayer \
|
|
oggenc:${PORTSDIR}/audio/vorbis-tools
|
|
|
|
USES= python:2 shebangfix
|
|
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= NEWS README
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man1/${PORTNAME}.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|