1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/ruby-pcsc-lite/Makefile
Jeremy Messenger 7df9b2b2b4 Disable threads again; it has caused the more troubles. This time, it has
${PTHREAD_CFLAGS} and ${PTHREAD_LIBS} include in the build to kill the
headache of old '_r' and can't run with something like ruby-opengl, ruby-sdl,
ruby-gtk2 and etc on FreeBSD 4.x or older 5.x. With this commit should solve
those issues. It is recommend you to rebuild any apps that depend on
lang/ruby18, so see the UPDATING for detail.

Remove the 'BROKEN' on the other ports that knu has added them few weeks ago.
Some of them have been tested, so if one of them is still broke then please
let us know and one of us will re-add the 'BROKEN'.

This changes was worked by lofi and me. lofi did everything on FreeBSD 4.x
and I did others. lofi, thanks for help!

Tested by:	many people
Tested on:	i386 (FreeBSD 4.x, 5.x and 6.x), amd64 (FreeBSD 5.x and 6.x),
		and sparc64 (FreeBSD 5.x and 6.x)
Not test on:	ia64 and alpha
Approved by:	portmgr (kris)
2005-02-25 00:17:28 +00:00

46 lines
1001 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
PORTREVISION= 1
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
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>