freebsd-ports/security/ifd-slb_rf60/Makefile
Edwin Groothuis 58cd4a33dc Fix building (well, make install) since a dependency didn't make
the proper directory when installing it from a package.

Noticed by: kris@ and pointyhat
2004-07-21 11:34:55 +00:00

41 lines
1 KiB
Makefile

# New ports collection makefile for: slb_rf60
# Date created: 20 Feb 2003
# Whom: Toni Andjelkovic <toni@soth.at>
#
# $FreeBSD$
#
PORTNAME= ifd-slb_rf60
PORTVERSION= 2.2.0
CATEGORIES= security devel
MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
DISTNAME= ${PORTNAME:S/^ifd-//}-drv-${PORTVERSION}
MAINTAINER= toni@soth.at
COMMENT= PC/SC Lite driver for the Reflex 62 serial smart card reader
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
USE_GMAKE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME:S/^ifd-//}
PORTDOCS= README
PLIST_FILES= pcsc/drivers/libslb_rf60.so
do-install:
test -f ${PREFIX}/pcsc/drivers/ || ${MKDIR} ${PREFIX}/pcsc/drivers/
${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \
${PREFIX}/pcsc/drivers/libslb_rf60.so
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \
${WRKDIR}/pkg-message
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>