2013-08-31 02:26:08 +02:00
|
|
|
# Created by: Corey Smith
|
2005-06-29 16:03:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pynids
|
2010-12-23 02:17:49 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2014-07-14 17:38:39 +02:00
|
|
|
PORTREVISION= 2
|
2005-06-29 16:03:12 +02:00
|
|
|
CATEGORIES= net python
|
2010-12-23 02:17:49 +01:00
|
|
|
MASTER_SITES= http://jon.oberheide.org/pynids/downloads/
|
2005-06-29 16:03:12 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= python
|
|
|
|
|
|
|
|
MAINTAINER= corsmith@gmail.com
|
|
|
|
COMMENT= Python interface to libnids
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libnet.so:net/libnet
|
2005-06-29 16:03:12 +02:00
|
|
|
|
2014-10-24 18:21:26 +02:00
|
|
|
USES= pkgconfig python
|
2013-08-31 02:26:08 +02:00
|
|
|
USE_GNOME= glib20
|
2014-10-24 18:21:26 +02:00
|
|
|
USE_PYTHON= distutils autoplist pythonprefix
|
2005-06-29 16:03:12 +02:00
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
post-extract:
|
2010-12-23 02:17:49 +01:00
|
|
|
@cd ${WRKSRC} && ${TAR} xzf libnids-1.24.tar.gz
|
2007-01-31 15:09:55 +01:00
|
|
|
|
2005-08-07 00:17:04 +02:00
|
|
|
post-patch:
|
2010-12-23 02:17:49 +01:00
|
|
|
@${CP} -f ${TEMPLATES}/config.guess ${WRKSRC}
|
|
|
|
@${CHMOD} a+rx ${WRKSRC}/config.guess
|
|
|
|
@${CP} -f ${TEMPLATES}/config.sub ${WRKSRC}
|
|
|
|
@${CHMOD} a+rx ${WRKSRC}/config.sub
|
2016-03-20 11:53:08 +01:00
|
|
|
@${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py
|
2007-01-31 15:09:55 +01:00
|
|
|
|
2016-03-20 11:53:08 +01:00
|
|
|
.include <bsd.port.mk>
|