freebsd-ports/security/please/Makefile
Mathieu Arnold fb4deed873 Update ports in the remaining categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 20:24:15 +00:00

26 lines
587 B
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= please
PORTVERSION= 2.1
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
COMMENT= Execute a command as root
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD
INSTALL_TARGET= install install-pam
PLIST_FILES= "@(,,6555) bin/please" etc/pam.d/please.sample man/man1/please.1.gz
post-patch:
@${REINPLACE_CMD} -e "s,-o 0 -g 0,,g ; s,-m 6555,-m 0555,g" \
-e "s,\(\$${PAMDIR}/\$${BIN}\),\\1.sample," \
${WRKSRC}/Makefile
.include <bsd.port.mk>