openbsd-ports/net/ruby-pcap/Makefile

43 lines
928 B
Makefile
Raw Normal View History

# $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
COMMENT= "Ruby interface to LBL Packet Capture library"
VERSION= 0.6
DISTNAME= ruby-pcap-${VERSION}
PKGNAME= ${DISTNAME}p4
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
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
2004-08-09 15:56:15 -04:00
MODULES= lang/ruby
2006-08-03 19:15:57 -04:00
LIB_DEPENDS= ruby.>=1.84::lang/ruby
NO_REGRESS= Yes
CONFIGURE_STYLE= ruby extconf
WRKDIST= ${WRKDIR}/pcap
2002-12-09 16:13:05 -05:00
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-pcap/
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-pcap/
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}
.include <bsd.port.mk>