f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# New ports collection Makefile for: libccid
|
|
# Date created: 2005-01-20
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ccid
|
|
PORTVERSION= 1.3.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/1970/
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= Generic USB CCID (Chip/Smart Card Interface Devices) driver
|
|
|
|
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \
|
|
pcsclite.1:${PORTSDIR}/devel/pcsc-lite
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5_BUILD=yes
|
|
CONFIGURE_ARGS= --enable-usbdropdir=${LOCALBASE}/lib/pcsc/drivers \
|
|
--enable-ccidtwindir=${LOCALBASE}/lib/pcsc/drivers/serial \
|
|
--enable-udev
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
|
|
LIBUSB_CFLAGS="-I${LOCALBASE}/include" \
|
|
LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb"
|
|
|
|
PLIST_SUB= VER=${PORTVERSION}
|
|
MAN1= RSA_SecurID_getpasswd.1
|
|
MAN8= Kobil_mIDentity_switch.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,use warnings;,," ${WRKSRC}/src/create_Info_plist.pl
|
|
${REINPLACE_CMD} -e "s,ndef __APPLE__, !(__APPLE__ || __FreeBSD__)," ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c
|
|
|
|
.include <bsd.port.post.mk>
|