ca839e9209
RTM_VERSION change. some analysis by me, fix from Mikko Tolmunen <oskari at sefirosu.org> on ports@, thanks! tested on many arch.
23 lines
622 B
Makefile
23 lines
622 B
Makefile
# $OpenBSD: Makefile,v 1.5 2008/11/08 22:17:41 sthen Exp $
|
|
|
|
REVISION= 1.1
|
|
VERSION= ${REVISION}.2.1
|
|
PKGNAME= ${DISTNAME}p0
|
|
SHARED_LIBS= net 11.0
|
|
|
|
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-${REVISION}/libnet.so.${LIBnet_VERSION} \
|
|
${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|