blob: 2e08a366fe49b317d3e3419c1331f2f9f8c20075 (
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
|
# New ports collection makefile for: py-htpasswd
# Date created: 2011-08-26
# Whom: Aldis Berjoza <aldis@bsdroot.lv>
#
# $FreeBSD$
#
PORTNAME= htpasswd
PORTVERSION= 2008.03.05
PORTREVISION= 2
CATEGORIES= security python
MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= graudeejs@gmail.com
COMMENT= Replacement for htpasswd
USE_PYTHON= yes
USE_XZ= yes
PLIST_FILES= bin/${PORTNAME}.py
NO_BUILD= yes
NO_WRKSUBDIR= yes
post-patch:
${SED} -I.orig -e 's|^#!/usr/bin/python|#!/usr/bin/env python|' ${WRKDIR}/${PORTNAME}.py
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/
.include <bsd.port.mk>
|