freebsd-ports/security/please/Makefile

29 lines
600 B
Makefile
Raw Normal View History

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= please
2014-02-22 15:33:10 +01:00
PORTVERSION= 2.0
CATEGORIES= security
MAINTAINER= gblach@FreeBSD.org
COMMENT= Execute a command as root
2014-01-10 00:52:04 +01:00
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD
GH_TAGNAME= ${PORTVERSION}
2014-02-22 15:33:10 +01:00
GH_COMMIT= 1d65ba2
2014-02-22 15:33:10 +01:00
INSTALL_TARGET= install install-pam
PLIST_FILES= bin/please etc/pam.d/please.sample man/man1/please.1.gz
2014-01-10 00:52:04 +01:00
post-patch:
2014-02-22 15:33:10 +01:00
@${REINPLACE_CMD} -e "s,-o 0 -g 0,,g" \
-e "s,\(\$${PAMDIR}/\$${BIN}\),\\1.sample," \
${WRKSRC}/Makefile
2014-01-10 00:52:04 +01:00
.include <bsd.port.mk>