1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/security/py-htpasswd/Makefile
Ruslan Makhmatkhanov b3e78ade01 - replace YES' with yes' in USE_PYTHON/USE_PYDISTUTILS (mostly)
They all non-functional changes.
2012-02-19 07:02:58 +00:00

33 lines
689 B
Makefile

# 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>