Skip to content

Instantly share code, notes, and snippets.

@tota
Created September 2, 2009 06:50
Show Gist options
  • Save tota/179595 to your computer and use it in GitHub Desktop.
Save tota/179595 to your computer and use it in GitHub Desktop.
# New ports collection makefile for: ruby-usb
# Date created: 2009-09-02
# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= usb
PORTVERSION= 0.2
CATEGORIES= devel
MASTER_SITES= http://www.a-k-r.org/ruby-usb/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= A libusb binding library for Ruby
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/usb.so \
%%RUBY_SITELIBDIR%%/usb.rb
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
.endif
.include <bsd.port.post.mk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment