freebsd-ports/security/ifd-gempc410/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

45 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>