freebsd-ports/net/pynids/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

31 lines
758 B
Makefile

# 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>