aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-sgrep/Makefile
blob: 0f24356799b64b9ee149f003b8773482784eb550 (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
# ex:ts=8
# New ports collection makefile for: 	py-sgrep
# Date created:			Jun 14, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	sgrep
PORTVERSION=	${SGREP_VER}	# dont know ver, so I decide to choose sgrep ver
CATEGORIES=	textproc python
MASTER_SITES=	http://www.rexx.com/~dkuhlman/ \
		ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTFILES=	pysgrep.tar.gz sgrep-${SGREP_VER}.tar.gz
EXTRACT_ONLY=	sgrep-1.92a.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Python wrappers for Sgrep

PLIST_FILES=	%%PYTHON_SITELIBDIR%%/sgreplib.so
SGREP_VER=	1.92a
WRKSRC=		${WRKDIR}/sgrep-${SGREP_VER}
GNU_CONFIGURE=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

post-extract:
	@${TAR} -zxf ${_DISTDIR}/pysgrep.tar.gz -C ${WRKSRC}

.include <bsd.port.mk>