mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
36 lines
887 B
Makefile
36 lines
887 B
Makefile
# New ports collection makefile for: cdparanoia
|
|
# Date created: 5 Jan 2003
|
|
# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cdparanoia
|
|
PORTVERSION= 3.9.8
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio sysutils
|
|
MASTER_SITES= http://www.xiph.org/paranoia/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^3\./III-alpha/}
|
|
EXTRACT_SUFX= .src.tgz
|
|
|
|
MAINTAINER= corecode@corecode.ath.cx
|
|
COMMENT= A CDDA extraction tool (also known as ripper)
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
.endif
|
|
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= cdparanoia.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/\(^ *default:\)/\1break;/' ${WRKSRC}/interface/utils.h
|
|
|
|
.include <bsd.port.mk>
|