2007-02-14 06:51:07 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2007/02/14 11:51:08 steven Exp $
|
2006-10-20 07:16:18 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2002-02-28 12:37:14 -05:00
|
|
|
|
2002-04-17 14:35:32 -04:00
|
|
|
COMMENT= "Ruby interface to LBL Packet Capture library"
|
2002-02-26 20:43:55 -05:00
|
|
|
|
|
|
|
VERSION= 0.6
|
|
|
|
DISTNAME= ruby-pcap-${VERSION}
|
2007-02-14 06:51:07 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2002-02-26 20:43:55 -05:00
|
|
|
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
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c m pcap
|
2002-02-26 20:43:55 -05:00
|
|
|
|
|
|
|
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
|
|
|
|
2004-08-09 15:56:15 -04:00
|
|
|
MODULES= lang/ruby
|
2002-02-26 20:43:55 -05:00
|
|
|
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS= ruby.>=1.84::lang/ruby
|
2006-06-11 14:57:11 -04:00
|
|
|
|
2002-02-26 20:43:55 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-11-27 04:43:14 -05:00
|
|
|
CONFIGURE_STYLE= ruby extconf
|
2002-02-26 20:43:55 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/pcap
|
|
|
|
|
2002-12-09 16:13:05 -05:00
|
|
|
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-pcap/
|
|
|
|
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-pcap/
|
2002-06-29 09:59:24 -04:00
|
|
|
|
2002-02-26 20:43:55 -05:00
|
|
|
post-install:
|
2002-12-09 16:13:05 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOC_DIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLE_DIR}
|
2002-02-26 20:43:55 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|