2003-02-18 00:56:56 +01:00
|
|
|
# Ports collection makefile for: LibChipCard
|
|
|
|
# Date created: 19 January 2003
|
2005-04-20 14:42:06 +02:00
|
|
|
# Whom: Martin Preuss <martin@libchipcard.de>
|
2003-02-18 00:56:56 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libchipcard
|
2005-04-20 14:42:06 +02:00
|
|
|
PORTVERSION= 0.9.1
|
2003-02-18 00:56:56 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= libchipcard
|
|
|
|
|
|
|
|
MAINTAINER= martin@libchipcard.de
|
2005-11-25 23:36:27 +01:00
|
|
|
COMMENT= A library for easy access to chipcards
|
2003-02-18 00:56:56 +01:00
|
|
|
|
2005-04-20 14:42:06 +02:00
|
|
|
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
|
2003-02-18 00:56:56 +01:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-02-18 00:56:56 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-03-06 19:00:09 +01:00
|
|
|
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2008-08-21 08:18:49 +02:00
|
|
|
CONFIGURE_ARGS+=--with-distri=freebsd
|
2003-02-18 00:56:56 +01:00
|
|
|
|
2003-02-22 05:25:25 +01:00
|
|
|
MAN1= ctfstool.1 chipcardd.1 geldkarte.1 hbcicard.1 \
|
|
|
|
kvkd.1 memcard.1 libchipcard-config.1 readertest.1
|
|
|
|
|
2003-02-18 00:56:56 +01:00
|
|
|
MAN5= libchipcard.conf.5 chipcardc.conf.5 chipcardd.conf.5
|
2005-04-20 14:42:06 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,LPCSTR,LPCTSTR," ${WRKSRC}/src/libchipcard/engine/reader/ctdriver_pcsc.h
|
|
|
|
${REINPLACE_CMD} -e "s,libpcsclite.so.0,libpcsclite.so.1,; \
|
|
|
|
s,/usr/local/pcsc/include,${LOCALBASE}/include/PCSC," ${WRKSRC}/configure
|
2003-02-18 00:56:56 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/freebsd/chipcardd.sh ${PREFIX}/etc/rc.d
|
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
|
|
|
|
|
2007-11-28 06:39:16 +01:00
|
|
|
.include <bsd.port.mk>
|