freebsd-ports/net/pynids/Makefile
Tijl Coosemans 654ccc6aac Install net/libnet headers and libraries back in the location where other
ports expect it.  The files were put in a different location to avoid a
conflict with net/libnet10 but this port has been removed a while ago now.

PR:		208122
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-20 10:53:08 +00:00

31 lines
770 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:${PORTSDIR}/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>