mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
90558a05c0
license; minor cleanup. PR: ports/63205 Submittec by: Toni Andjelkovic <toni@soth.at> (maintainer)
46 lines
1008 B
Makefile
46 lines
1008 B
Makefile
# New ports collection makefile for: PCSC-ruby
|
|
# Date created: 27 Dec 2001
|
|
# Whom: Toni Andjelkovic <toni@soth.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pcsc-lite
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://soth.at/PCSC-ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= PCSC-ruby-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= toni@soth.at
|
|
COMMENT= Ruby extension for the UNIX PC/SC Lite API (MUSCLE)
|
|
|
|
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
|
|
|
|
USE_RUBY= yes
|
|
RUBY_VER= 1.8
|
|
RUBY_WITH_PTHREAD= yes
|
|
CONFIGURE_ARGS+= --with-pcsclite-dir="${PREFIX}"
|
|
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_MODDOCDIR}/
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|