24 lines
618 B
Makefile
24 lines
618 B
Makefile
# $OpenBSD: Makefile,v 1.8 2010/11/26 14:56:15 espie Exp $
|
|
|
|
REV= 1.1
|
|
VERSION= ${REV}.2.1
|
|
REVISION= 0
|
|
SHARED_LIBS= net 11.0
|
|
PKGSPEC = libnet->=1.1,<1.2
|
|
|
|
WRKDIST= ${WRKDIR}/libnet
|
|
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
MAKE_FLAGS= LIBnet_VERSION=${LIBnet_VERSION}
|
|
CONFIGURE_ENV= LIBNET_CONFIG_LIBS="-L${LOCALBASE}/lib/libnet-1.1" \
|
|
LIBNET_CONFIG_CFLAGS="-I${LOCALBASE}/include/libnet-1.1"
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/libnet-config \
|
|
${PREFIX}/bin/libnet-config-1.1
|
|
@ln -sf libnet-${REV}/libnet.so.${LIBnet_VERSION} \
|
|
${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|