60d1a83c2a
- 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
33 lines
915 B
Makefile
33 lines
915 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= soundgrab
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio perl5
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactively select and save sections of an audio file
|
|
|
|
RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \
|
|
rawplay:${PORTSDIR}/audio/rawrec \
|
|
oggenc:${PORTSDIR}/audio/vorbis-tools \
|
|
flac:${PORTSDIR}/audio/flac \
|
|
p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \
|
|
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= src/soundgrab
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/soundgrab man/man1/soundgrab.1.gz
|
|
|
|
do-install:
|
|
@pod2man ${WRKSRC}/src/soundgrab ${WRKSRC}/src/soundgrab.1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/soundgrab ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/src/soundgrab.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|