aboutsummaryrefslogtreecommitdiffstats
path: root/net/pynids/Makefile
blob: 84ff780162131b0b46c25405147662cb6994057d (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
32
33
34
35
36
# New ports collection makefile for:   pynids
# Date created:                22 Jun 2005
# Whom:                        Corey Smith
#
# $FreeBSD$
#

PORTNAME=   pynids
PORTVERSION=    0.5
PORTREVISION=   1
CATEGORIES= net python
MASTER_SITES=   http://pilcrow.madison.wi.us/pynids/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pynids-${PORTVERSION}
DIST_SUBDIR=    python

MAINTAINER= corsmith@gmail.com
COMMENT=    Python interface to libnids

BUILD_DEPENDS=  libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

CFLAGS+=    -fPIC

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/nidsmodule.so

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

.include <bsd.port.mk>