freebsd-ports/security/super/Makefile
Pawel Pekala d01f1f8167 - Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PORTEXAMPLES
- Replace patch with REINPLACE_CMD

PR:             ports/172063
Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
Feature safe:   yes
2012-11-10 17:38:33 +00:00

41 lines
985 B
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= super
PORTVERSION= 3.30.0
CATEGORIES= security sysutils
MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \
http://www.ucolick.org/~will/RUE/super/
EXTRACT_SUFX= -tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Allow others to run commands as root
LICENSE= GPLv1
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
MAN1= super.1 setuid.1
MAN5= super.5
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} 's|\.\/mkdir_p -p755|mkdir -p -m 755|g' \
${WRKSRC}/Makefile.in
post-install:
@${STRIP_CMD} ${PREFIX}/bin/super ${PREFIX}/bin/setuid
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/sample.tab ${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/barebones.tab ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>