2004-08-01 10:56:07 +02:00
|
|
|
# New ports collection makefile for: netwox
|
|
|
|
# Date created: 23.07.2004
|
|
|
|
# Whom: janos.mohacsi@bsd.hu
|
2002-06-25 12:54:14 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-08-01 10:56:07 +02:00
|
|
|
PORTNAME= netwib
|
2005-10-12 20:47:14 +02:00
|
|
|
PORTVERSION= 5.30.0
|
2005-11-14 18:07:08 +01:00
|
|
|
PORTREVISION= 1
|
2004-08-01 10:56:07 +02:00
|
|
|
CATEGORIES= net devel ipv6
|
|
|
|
MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \
|
|
|
|
http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \
|
|
|
|
http://laurentconstantin.free.fr/common/netw/netwib/download/v5/
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
|
2002-06-25 12:54:14 +02:00
|
|
|
|
2004-08-01 10:56:07 +02:00
|
|
|
MAINTAINER= janos.mohacsi@bsd.hu
|
|
|
|
COMMENT= Netwib network programming library
|
2002-06-25 12:54:14 +02:00
|
|
|
|
2005-11-14 18:07:08 +01:00
|
|
|
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
|
2004-08-16 15:16:33 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2002-06-25 12:54:14 +02:00
|
|
|
|
2004-08-01 10:56:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
|
|
|
|
USE_REINPLACE= yes
|
2004-10-12 01:13:40 +02:00
|
|
|
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
|
2004-08-01 10:56:07 +02:00
|
|
|
MAN3= netwib.3 netwib_dat.3 netwib_err.3 netwib_net.3 \
|
|
|
|
netwib_pkt.3 netwib_shw.3 netwib_sys.3
|
2004-10-12 01:13:40 +02:00
|
|
|
MAN3+= netwib${SHORTPORTVERSION}.3 netwib${SHORTPORTVERSION}_dat.3 \
|
|
|
|
netwib${SHORTPORTVERSION}_err.3 \
|
|
|
|
netwib${SHORTPORTVERSION}_net.3 \
|
|
|
|
netwib${SHORTPORTVERSION}_pkt.3 \
|
|
|
|
netwib${SHORTPORTVERSION}_shw.3 \
|
|
|
|
netwib${SHORTPORTVERSION}_sys.3
|
2002-06-25 12:54:14 +02:00
|
|
|
|
2004-10-12 01:13:40 +02:00
|
|
|
PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
|
2004-08-11 19:51:33 +02:00
|
|
|
|
2004-08-01 10:56:07 +02:00
|
|
|
do-configure:
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|%%PREFIX%%|${PREFIX}|' \
|
2004-08-19 19:24:43 +02:00
|
|
|
-e 's|%%CFLAGS%%|${CFLAGS}|' \
|
2004-08-01 10:56:07 +02:00
|
|
|
${WRKSRC}/config.dat
|
|
|
|
(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
|
2002-06-25 12:54:14 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|