aboutsummaryrefslogtreecommitdiffstats
path: root/converters/py-bsdconv/Makefile
blob: 033844aab7ae28e1ff52e20273b18d50d01cf01c (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
# New ports collection makefile for:    py-bsdconv
# Date created:             11 Oct 2009
# Whom:                 buganini@gmail.com
#
# $FreeBSD$
#

PORTNAME=   bsdconv
PORTVERSION=    3.5
CATEGORIES= converters python
MASTER_SITES=   http://security-hole.info/distfile/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   buganini-bsdconv-c14ef1b

MAINTAINER= buganini@gmail.com
COMMENT=    Python wrapper for bsdconv

LIB_DEPENDS=    bsdconv.3:${PORTSDIR}/converters/bsdconv

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PLIST_SUB=  PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}

WRKSRC=     ${WRKDIR}/${DISTNAME}/wrapper/python

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
        ${WRKSRC}/setup.py

.include <bsd.port.mk>