1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/sysutils/sysinfo/Makefile
Mathieu Arnold 3bfa450500 Retire ports-mgmt/portaudit, it stopped working a month ago when pkg_tools
support was removed.  Also retire three ports requiring it, and a few optionnal
dependencies.

With hat:	portmgr
Noticed by:	ak
Sponsored by:	Absolight
2014-10-13 15:45:02 +00:00

42 lines
1.3 KiB
Makefile

# Created by: Daniel Gerzo <danger@FreeBSD.org>
# $FreeBSD$
PORTNAME= sysinfo
PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= LOCAL/danger \
http://danger.rulez.sk/projects/sysinfo/
MAINTAINER= danger@FreeBSD.org
COMMENT= Utility used to gather system configuration information
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DMIDECODE
DMIDECODE_DESC= Include information from the dmidecode tool
DMIDECODE_RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode
post-patch:
@${REINPLACE_CMD} -e 's|common.subr|${DATADIR}/common.subr|g' ${WRKSRC}/sysinfo
@${REINPLACE_CMD} -e 's|sysinfo.conf|${PREFIX}/etc/sysinfo.conf|g' \
${WRKSRC}/sysinfo ${WRKSRC}/doc/sysinfo.conf.5
@${REINPLACE_CMD} -e 's|APPDIR=.|APPDIR=${DATADIR}|g' \
${WRKSRC}/sysinfo.conf ${WRKSRC}/doc/sysinfo.conf.5
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sysinfo ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/sysinfo.conf ${STAGEDIR}${PREFIX}/etc/sysinfo.conf.sample
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/common.subr ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_BIN} modules ${STAGEDIR}${DATADIR})
${INSTALL_MAN} ${WRKSRC}/doc/sysinfo.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/doc/sysinfo.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.mk>