blob: 9ee66d5fcc4ff5e0d2085faed9d150e368eb07c8 (
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
|
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= please
PORTVERSION= 2.0
CATEGORIES= security
MAINTAINER= gblach@FreeBSD.org
COMMENT= Execute a command as root
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils
USE_GITHUB= yes
GH_ACCOUNT= MagikBSD
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 1d65ba2
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>
|