aboutsummaryrefslogtreecommitdiffstats
path: root/security/super/Makefile
blob: d5282d7574beeb23878f4bb93049a3ee57464452 (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
29
30
31
32
33
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:  foo
# Version required:           3.9.7
# Date created:           Fri Mar 18, 1997
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $Id: Makefile,v 1.6 1998/12/02 06:37:33 obrien Exp $
#

DISTNAME=   super-3.11.8
CATEGORIES= security sysutils
MASTER_SITES=   ftp://phobos.caltech.edu/users/will/  \
        ftp://ftp.ucolick.org/pub/users/will/  \
        ftp://ftp.infodrom.north.de/pub/unix/utilities/super/

MAINTAINER=     obrien@FreeBSD.org

.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 300000
BROKEN= '/usr/include/prot.h parse error'         
.endif

GNU_CONFIGURE=  yes
MAN1=       super.1 setuid.1
MAN5=       super.5

post-install:
    @strip ${PREFIX}/bin/super ${PREFIX}/bin/setuid
    @${MKDIR} ${PREFIX}/share/examples
    @${INSTALL_DATA} ${FILESDIR}/sample.tab ${PREFIX}/share/examples
    @${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${PREFIX}/share/examples
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/super
    ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/super
.endif

.include <bsd.port.post.mk>