mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
61 lines
1.2 KiB
Makefile
61 lines
1.2 KiB
Makefile
# New ports collection makefile for: bookcase
|
|
# Date created: 11 May 2003
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tellico
|
|
PORTVERSION= 1.2.7
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= http://www.periapsis.org/tellico/download/
|
|
|
|
MAINTAINER= markus@FreeBSD.org
|
|
COMMENT= Collection manager for KDE
|
|
|
|
LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
|
|
yaz.2:${PORTSDIR}/net/yaz
|
|
|
|
USE_KDELIBS_VER=3
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_PYTHON= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-cdtext
|
|
|
|
OPTIONS= CDDB "CDDB support" on \
|
|
KCAL "KOrganizer support" on \
|
|
AMAZON "Amazon search support" on \
|
|
IMDB "IMDb search support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Does not compile on FreeBSD 4.x
|
|
.endif
|
|
|
|
.if defined(WITHOUT_CDDB)
|
|
CONFIGURE_ARGS+=--disable-libkcddb
|
|
.else
|
|
LIB_DEPENDS+= kcddb:${PORTSDIR}/multimedia/kdemultimedia3
|
|
.endif
|
|
|
|
.if defined(WITHOUT_KCAL)
|
|
CONFIGURE_ARGS+=--disable-libkcal
|
|
.else
|
|
LIB_DEPENDS+= kcal.2:${PORTSDIR}/deskutils/kdepim3
|
|
.endif
|
|
|
|
.if defined(WITHOUT_AMAZON)
|
|
CONFIGURE_ARGS+=--disable-amazon
|
|
.endif
|
|
|
|
.if defined(WITHOUT_IMDB)
|
|
CONFIGURE_ARGS+=--disable-imdb
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.include <bsd.port.post.mk>
|