mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
3e4ed01146
- 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)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: ifd-gempc410
|
|
# Date created: 2003-05-09
|
|
# Whom: des
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ifd-gempc410
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/
|
|
DISTNAME= ifd-gempc-${PORTVERSION}
|
|
|
|
MAINTAINER= des@freebsd.org
|
|
COMMENT= PC/SC Lite driver for the GemPC 410 serial smart card reader
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ifdhandler.h:${PORTSDIR}/security/ifd-devkit
|
|
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS+= -CGemPC410
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
NOMAN=
|
|
|
|
PKGMESSAGE= ${WRKDIR}/message
|
|
|
|
post-configure:
|
|
${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
|
-e '/INCS/ s,/usr/local,${LOCALBASE},g' \
|
|
-e '/DESTDIR/ s,/usr/local,${PREFIX},g'
|
|
${SED} -e 's|%%PREFIX%%|${PREFIX}|g' <${FILESDIR}/message >${PKGMESSAGE}
|
|
${TOUCH} ${WRKSRC}/GemPC410/dep_stamp ${WRKSRC}/common/dep_stamp
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/pcsc/drivers/serial
|
|
${INSTALL_DATA} ${WRKSRC}/GemPC410/libGemPC410.so* \
|
|
${PREFIX}/lib/pcsc/drivers/serial
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|