2011-12-02 14:34:42 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2011/12/02 19:34:42 jeremy Exp $
|
2002-02-28 12:37:14 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Ruby interface to LBL Packet Capture library
|
2002-02-26 20:43:55 -05:00
|
|
|
|
2010-11-08 18:28:53 -05:00
|
|
|
DISTNAME= ruby-${PKGNAME}
|
|
|
|
PKGNAME= pcap-0.6
|
2011-09-16 07:13:37 -04:00
|
|
|
REVISION= 20
|
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
|
2010-07-12 18:07:37 -04:00
|
|
|
|
2010-10-26 17:42:13 -04:00
|
|
|
WANTLIB= 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-11-27 04:43:14 -05:00
|
|
|
CONFIGURE_STYLE= ruby extconf
|
2002-02-26 20:43:55 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/pcap
|
|
|
|
|
2010-11-08 18:28:53 -05:00
|
|
|
DOC_DIR= ${MODRUBY_DOCDIR}/pcap/
|
|
|
|
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/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>
|