1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/audio/quelcom/Makefile
2004-02-08 09:32:34 +00:00

42 lines
1009 B
Makefile

# New ports collection makefile for: quelcom
# Date created: 27 December 2000
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= quelcom
PORTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.etse.urv.es/~dmanye/quelcom/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of command-line utilities for MP3 and wave files
USE_GETOPT_LONG=yes
USE_GMAKE= yes
MAKEFILE= makefile
USE_GCC= 2.95
USE_REINPLACE= yes
MAN1= qmp3check.1 qmp3cut.1 qmp3info.1 qmp3join.1 qmp3report.1 \
qwavcut.1 qwavfade.1 qwavheaderdump.1 qwavinfo.1 qwavjoin.1 \
qwavsilence.1
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's,g++,${CXX},g' ${WRKSRC}/src/makefile
.if ${OSVERSION} >= 500041
${REINPLACE_CMD} -e 's, -lgnugetopt,,g' ${WRKSRC}/src/makefile
.endif
do-install:
.for F in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/${F} ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/src/${F:S/.1//g} ${PREFIX}/bin
.endfor
.include <bsd.port.post.mk>