View | Details | Raw Unified | Return to bug 172063
Collapse All | Expand All

(-)security/super/Makefile (-10 / +17 lines)
Lines 1-10 Link Here
1
# ex:ts=8
1
# Created by: David O'Brien (obrien@NUXI.com)
2
# Ports collection makefile for:  super
3
# Date created:			  Fri Mar 18, 1997
4
# Whom:				  David O'Brien (obrien@NUXI.com)
5
#
6
# $FreeBSD: ports/security/super/Makefile,v 1.32 2009/03/09 19:29:09 miwi Exp $
2
# $FreeBSD: ports/security/super/Makefile,v 1.32 2009/03/09 19:29:09 miwi Exp $
7
#
8
3
9
PORTNAME=	super
4
PORTNAME=	super
10
PORTVERSION=	3.30.0
5
PORTVERSION=	3.30.0
Lines 16-32 Link Here
16
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Allow others to run commands as root
12
COMMENT=	Allow others to run commands as root
18
13
14
LICENSE=	GPLv1
15
16
OPTIONS_DEFINE=	DOCS EXAMPLES
17
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
MAKE_JOBS_SAFE=	yes
20
20
MAN1=		super.1 setuid.1
21
MAN1=		super.1 setuid.1
21
MAN5=		super.5
22
MAN5=		super.5
22
23
24
.include <bsd.port.options.mk>
25
23
post-install:
26
post-install:
24
	@${STRIP_CMD} ${PREFIX}/bin/super ${PREFIX}/bin/setuid
27
	@${STRIP_CMD} ${PREFIX}/bin/super ${PREFIX}/bin/setuid
25
.if !defined(NOPORTDOCS)
28
.if ${PORT_OPTIONS:MDOCS}
29
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
31
.endif
32
.if ${PORT_OPTIONS:MEXAMPLES}
26
	@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
33
	@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
27
	@${INSTALL_DATA} ${FILESDIR}/sample.tab ${FILESDIR}/sample.cdmount \
34
	${INSTALL_DATA} ${FILESDIR}/sample.tab ${EXAMPLESDIR}
28
		${WRKSRC}/barebones.tab ${EXAMPLESDIR}
35
	${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${EXAMPLESDIR}
29
	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/barebones.tab ${EXAMPLESDIR}
30
.endif
37
.endif
31
38
32
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)security/super/pkg-plist (-6 / +6 lines)
Lines 1-9 Link Here
1
bin/super
2
bin/setuid
1
bin/setuid
3
@unexec if cmp -s %D/etc/super.tab %D/%%PORTDOCS%%/share/examples/super/barebones.tab; then rm -f %D/etc/super.tab; fi
2
bin/super
4
%%PORTDOCS%%%%EXAMPLESDIR%%/sample.tab
3
%%PORTEXAMPLES%%@unexec if cmp -s %D/etc/super.tab %D/%%EXAMPLESDIR%%/barebones.tab; then rm -f %D/etc/super.tab; fi
5
%%PORTDOCS%%%%EXAMPLESDIR%%/barebones.tab
6
%%PORTDOCS%%%%EXAMPLESDIR%%/sample.cdmount
7
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%%%DOCSDIR%%/README
8
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/barebones.tab
6
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.cdmount
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.tab
8
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
9
%%PORTDOCS%%@dirrm %%DOCSDIR%%
9
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 172063