mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
d5fbb382bb
- Move sysutils/bsdadminscripts to ports-mgmt/bsdadminscripts - Copy ports-mgmt/bsdadminscripts to ports-mgmt/bsdadminscripts2 - Update bsdadminscripts2 to the bsda2 project 0.2.0 release Reviewed by: miwi Approved by: miwi Differential Revision: https://reviews.freebsd.org/D9434
58 lines
1.6 KiB
Makefile
58 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bsdadminscripts
|
|
PORTVERSION= 6.1.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= ports-mgmt sysutils
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collection of administration scripts
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
TMP?= /tmp
|
|
VAR?= /var
|
|
|
|
PORTDOCS= ABOUT CHANGES INSTALL NOTES THANKS
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
SUB_FILES= distviper pkg_libchk pkg_upgrade uma
|
|
SUB_LIST= TMP=${TMP} PREFIX=${PREFIX} VAR=${VAR} PORTS=${PORTSDIR}
|
|
|
|
DOCS_VARS_OFF= EVALDOCS=-nodoc
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/src && ${SH} install.sh \
|
|
-prefix=${STAGEDIR}${PREFIX} \
|
|
-ports=${STAGEDIR}${PORTSDIR} \
|
|
-distdir=${STAGEDIR}${DISTDIR} \
|
|
-datadir=${STAGEDIR}${DATADIR} \
|
|
${EVALDOCS}
|
|
.for n in distviper pkg_libchk pkg_upgrade uma
|
|
${MV} ${WRKDIR}/${n} ${WRKSRC}/src
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/${n} ${STAGEDIR}${PREFIX}/sbin
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/src/buildflags.mk ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/buildflags.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL_DATA} ${WRKSRC}/src/uma.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
.for f in bsdadminscripts buildflags.awk buildflags.conf buildflags.mk \
|
|
distviper pkg_libchk pkg_upgrade pkg_validate portconfig rcstart uma
|
|
${INSTALL_MAN} ${WRKSRC}/src/${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/*.sample ${STAGEDIR}${ETCDIR}
|
|
${RM} -r ${STAGEDIR}${PREFIX}/etc/*.sample
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|