openbsd-ports/net/ruby-pcap/Makefile
jeremy ac78ad4e83 Make ruby 1.9 the default ruby for non-gem/extconf ports,
for consistency with the gem/extconf ports.

Update non-gem/extconf ports that relied on the previous
default of ruby 1.8 to explicitly specify it.

OK ajacoutot@
2013-03-20 19:13:50 +00:00

39 lines
831 B
Makefile

# $OpenBSD: Makefile,v 1.45 2013/03/20 19:13:50 jeremy Exp $
COMMENT= Ruby interface to LBL Packet Capture library
DISTNAME= ruby-${PKGNAME}
PKGNAME= pcap-0.6
REVISION= 21
CATEGORIES= net
HOMEPAGE= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html
# GPL license
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= pcap
FLAVORS= ruby18
FLAVOR= ruby18
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
MODULES= lang/ruby
MODRUBY_REV= 1.8
CONFIGURE_STYLE= ruby extconf
WRKDIST= ${WRKDIR}/pcap
DOC_DIR= ${MODRUBY_DOCDIR}/pcap/
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/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>