diff --git a/devel/Makefile b/devel/Makefile index 4b2888210b6b..7eee11d13954 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -564,6 +564,7 @@ SUBDIR += ruby-mo SUBDIR += ruby-mock SUBDIR += ruby-optparse + SUBDIR += ruby-pcsc-lite SUBDIR += ruby-property SUBDIR += ruby-racc SUBDIR += ruby-racc-runtime diff --git a/devel/ruby-pcsc-lite/Makefile b/devel/ruby-pcsc-lite/Makefile new file mode 100644 index 000000000000..7e17f32220d3 --- /dev/null +++ b/devel/ruby-pcsc-lite/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: PCSC-ruby +# Date created: 27 Dec 2001 +# Whom: Toni Andjelkovic +# +# $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 diff --git a/devel/ruby-pcsc-lite/distinfo b/devel/ruby-pcsc-lite/distinfo new file mode 100644 index 000000000000..f03d58e94136 --- /dev/null +++ b/devel/ruby-pcsc-lite/distinfo @@ -0,0 +1 @@ +MD5 (ruby/PCSC-ruby-0.5.tar.gz) = e0f3d37ac326f1daf8870b041048cdbf diff --git a/devel/ruby-pcsc-lite/pkg-comment b/devel/ruby-pcsc-lite/pkg-comment new file mode 100644 index 000000000000..e99aaaf8bd0d --- /dev/null +++ b/devel/ruby-pcsc-lite/pkg-comment @@ -0,0 +1 @@ +Ruby extension for the UNIX PC/SC Lite API (MUSCLE) diff --git a/devel/ruby-pcsc-lite/pkg-descr b/devel/ruby-pcsc-lite/pkg-descr new file mode 100644 index 000000000000..bd935e3a8764 --- /dev/null +++ b/devel/ruby-pcsc-lite/pkg-descr @@ -0,0 +1,4 @@ +Ruby extension for the UNIX PC/SC Lite API (MUSCLE). + +Author: Toni Andjelkovic +WWW: http://www.ants.at/ruby/PCSC-ruby/ diff --git a/devel/ruby-pcsc-lite/pkg-plist b/devel/ruby-pcsc-lite/pkg-plist new file mode 100644 index 000000000000..2b904ea9d466 --- /dev/null +++ b/devel/ruby-pcsc-lite/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_ARCHLIBDIR%%/PCSC.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/pcsc-lite/README.txt +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pcsc-lite/test.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pcsc-lite/pcsclient.rb +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pcsc-lite +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pcsc-lite