aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libchipcard-kde/Makefile
blob: d8321675d6a305eb8f7f0298d8873e1c94f427f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Ports collection makefile for: LibChipCard-KDE
# Date created:                  19 January 2003
# Whom:                          Martin Preuss<martin@libchipcard.de>
#
# $FreeBSD$
#

PORTNAME=       libchipcard-kde
PORTVERSION=        0.9
PORTREVISION=   6
CATEGORIES=     devel kde
MASTER_SITES=       SF/libchipcard/libchipcard/${PORTVERSION}

MAINTAINER=     martin@libchipcard.de
COMMENT=        KDE tools for LibChipCard

LIB_DEPENDS=        chipcard.20:${PORTSDIR}/devel/libchipcard:install

USE_GMAKE=      yes
USE_AUTOTOOLS=      libtool:22
CONFIGURE_ARGS+=    --with-distri=freebsd --with-kde3-prefix=${LOCALBASE}\
            --with-applnk-dir=${PREFIX}/share/applnk/Utilities
USE_KDELIBS_VER=    3
MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.pre.mk>

post-patch:
    ${REINPLACE_CMD} -e 's,libkdeui.so.4,libkdeui.so,; \
        s|-lc_r|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
    ${REINPLACE_CMD} -e "s,libpcsclite.so.0,libpcsclite.so.1,; \
        s,/usr/local/pcsc/include,${LOCALBASE}/include/PCSC," ${WRKSRC}/configure


.include <bsd.port.post.mk>