d4041784dc
Approved by: portmgr (bdrewery)
38 lines
884 B
Makefile
38 lines
884 B
Makefile
# New ports collection makefile for: libalkimia
|
|
# Date created: 2011-02-28
|
|
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libalkimia
|
|
PORTVERSION= 4.3.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= finance kde
|
|
MASTER_SITES= http://kde-apps.org/CONTENT/content-files/
|
|
DISTNAME= 137323-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= Financial data handling library for KDE4
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
|
|
|
USE_BZIP2= yes
|
|
USES= cmake
|
|
USE_KDE4= automoc4 kdeprefix kdelibs
|
|
USE_QT4= qmake_build moc_build rcc_build uic_build
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|' \
|
|
${WRKSRC}/${PORTNAME}/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|KDE4_LIB_DIR|LIB_INSTALL_DIR|g' \
|
|
${WRKSRC}/${PORTNAME}/libalkimia.pc.in
|
|
|
|
.include <bsd.port.mk>
|