aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/su2/Makefile
blob: 81fbc6369b4401b91e3583fb35bf1567ccba737d (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
# Created by: gurney_j@efn.org
# $FreeBSD$

PORTNAME=   su2
PORTVERSION=    1.3
PORTREVISION=   1
CATEGORIES= sysutils security
MASTER_SITES=   ftp://ftp.ccs.neu.edu/pub/sysadmin/

MAINTAINER= gd@rambler-co.ru
COMMENT=    Enhanced su, allows users to su with own password + more

PATCH_DEPENDS=  rcsdiff:${PORTSDIR}/devel/rcs

NO_CDROM=   Don't sell for profit

PLIST_FILES=    bin/su2 \
        man/man1/su2.1.gz

post-patch:
    ${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile
    ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \
        ${WRKSRC}/su2.man

.include <bsd.port.mk>