openbsd-ports/net/ruby-pcap/Makefile
jeremy d765f5df76 Bump all ruby ports not already handled.
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed
due to differences in how RDoc processes files.

This also has a number of changes to the regress tests to
work with the changes to devel/ruby-rake.  It moves most of
the regress tests to use MODRUBY_REGRESS.

OK jcs@, landry@, jasper@, sthen@
2010-09-23 22:30:24 +00:00

44 lines
917 B
Makefile

# $OpenBSD: Makefile,v 1.32 2010/09/23 22:30:28 jeremy Exp $
SHARED_ONLY= Yes
COMMENT= Ruby interface to LBL Packet Capture library
VERSION= 0.6
DISTNAME= ruby-pcap-${VERSION}
REVISION= 13
CATEGORIES= net
HOMEPAGE= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html
# GPL license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pcap
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
MODULES= lang/ruby
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS}
NO_REGRESS= Yes
CONFIGURE_STYLE= ruby extconf
WRKDIST= ${WRKDIR}/pcap
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-pcap/
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-pcap/
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOC_DIR}
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLE_DIR}
.include <bsd.port.mk>