Dmitry Marakasov 331eb036a6 - Switch to USES=libtool, drop .la files
Approved by:	portmgr blanket
2014-08-06 16:21:43 +00:00

38 lines
874 B
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME= libcdio
PORTVERSION= 0.83
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libcdio
MAINTAINER= arved@FreeBSD.org
COMMENT= Compact Disc Input and Control Library
LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb \
libcdda_paranoia.so:${PORTSDIR}/audio/cdparanoia
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= pathfix pkgconfig iconv libtool ncurses gmake perl5
USE_LDCONFIG= yes
CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG}
USE_PERL5= build
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
INFO= libcdio
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's|/jp/man1|/ja/man1|' \
${WRKSRC}/src/cd-paranoia/doc/ja/Makefile.in
${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd*," ${WRKSRC}/configure
.include <bsd.port.post.mk>