blob: c5686bea12720f0bd998eccff9220d73d25a7049 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Corey Smith
# $FreeBSD$
PORTNAME= pynids
PORTVERSION= 0.6.1
PORTREVISION= 2
CATEGORIES= net python
MASTER_SITES= http://jon.oberheide.org/pynids/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
MAINTAINER= corsmith@gmail.com
COMMENT= Python interface to libnids
LIB_DEPENDS= libnet.so:net/libnet
USES= pkgconfig python
USE_GNOME= glib20
USE_PYTHON= distutils autoplist pythonprefix
post-extract:
@cd ${WRKSRC} && ${TAR} xzf libnids-1.24.tar.gz
post-patch:
@${CP} -f ${TEMPLATES}/config.guess ${WRKSRC}
@${CHMOD} a+rx ${WRKSRC}/config.guess
@${CP} -f ${TEMPLATES}/config.sub ${WRKSRC}
@${CHMOD} a+rx ${WRKSRC}/config.sub
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py
.include <bsd.port.mk>
|