1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/security/portaudit-db/Makefile
Simon L. B. Nielsen 8c91f8349c Change MAINTAINER address for ports maintained by the Security Team to
secteam@ instead of security@ to make it more clear that the ports are
not maintained by the freebsd-security@ mailing list.  Both addresses
go to the same people.
2005-07-30 19:13:10 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: portaudit-db
# Date created: 12 Jun 2004
# Whom: Oliver Eikemeier
#
# $FreeBSD$
#
PORTNAME= portaudit-db
PORTVERSION= 0.2.3
CATEGORIES= security
DISTFILES=
MAINTAINER= secteam@FreeBSD.org
COMMENT= Creates a portaudit database from a current ports tree
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
DEPENDS_ARGS+= WITHOUT_PYTHON=yes
DATABASEDIR?= ${AUDITFILE:H}
PLIST_SUB+= DATABASEDIR="${DATABASEDIR}"
SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
-e "s|%%DATADIR%%|${DATADIR}|g" \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%PORTSDIR%%|${PORTSDIR}|g" \
-e "s|%%PORTVERSION%%|${PORTVERSION}|g" \
-e "s|%%DATABASEDIR%%|${DATABASEDIR}|g"
do-build:
@for f in packaudit.sh packaudit.conf; do \
${SED} ${SED_SCRIPT} "${FILESDIR}/$$f" > "${WRKDIR}/$$f"; \
done
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/packaudit.sh ${PREFIX}/bin/packaudit
@${INSTALL_DATA} ${WRKDIR}/packaudit.conf ${PREFIX}/etc/packaudit.conf.sample
@${MKDIR} ${DATADIR}
@${INSTALL_SCRIPT} ${FILESDIR}/portaudit2vuxml.awk ${DATADIR}
@${INSTALL_DATA} ${FILESDIR}/vuxml2html.xslt ${FILESDIR}/vuxml2portaudit.xslt ${DATADIR}
@${MKDIR} ${DATABASEDIR}
.include <bsd.port.mk>