freebsd-ports/devel/ruby-pcsc-lite/Makefile
Akinori MUSHA 469797ca32 Add ruby-pcsc-lite, Ruby extension for the UNIX PC/SC Lite API
(MUSCLE).

PR:		ports/33321
Submitted by:	Toni Andjelkovic <toni@soth.at>
2002-01-12 18:29:58 +00:00

42 lines
911 B
Makefile

# New ports collection makefile for: PCSC-ruby
# Date created: 27 Dec 2001
# Whom: Toni Andjelkovic <toni@ants.at>
#
# $FreeBSD$
#
PORTNAME= pcsc-lite
PORTVERSION= 0.5
CATEGORIES= devel ruby
MASTER_SITES= http://www.ants.at/ruby/PCSC-ruby/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= PCSC-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= toni@ants.at
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_SETUP= install.rb
WRKSRC= ${WRKDIR}/PCSC-ruby
DOCS= README.txt
EXAMPLES= examples/test.rb examples/pcsclient.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${EXAMPLES}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>