(which is not) throughout the ports Makefiles. * Replace find|xargs with find -exec {} + * Replace -exec {} \; with -exec {} + if applicable. * Use the -delete operator to remove files and empty directories. * Combine and tweak some find(1) invocations while here. ok kn@ rsadowski@ espie@
44 lines
904 B
Makefile
44 lines
904 B
Makefile
# $OpenBSD: Makefile,v 1.11 2020/03/20 16:44:27 naddy Exp $
|
|
|
|
COMMENT= PF firewall log analysis
|
|
|
|
DISTNAME= hatchet-0.9.2
|
|
REVISION= 3
|
|
CATEGORIES= security www
|
|
HOMEPAGE= http://www.dixongroup.net/hatchet/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/downloads/
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= ${VARBASE}/www
|
|
INSTDIR= ${PREFIX}/hatchet
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= databases/p5-DBD-Chart \
|
|
databases/p5-DBD-SQLite \
|
|
databases/p5-DBI \
|
|
graphics/p5-GD \
|
|
graphics/p5-GD-TextUtil \
|
|
www/ap2-mod_perl \
|
|
www/p5-HTML-Template
|
|
|
|
do-configure:
|
|
${SUBST_CMD} ${WRKDIST}/conf/hatchet.conf \
|
|
${WRKDIST}/docs/INSTALL \
|
|
${WRKDIST}/docs/README.OpenBSD \
|
|
${WRKDIST}/sbin/hatchart \
|
|
${WRKDIST}/sbin/hatchet \
|
|
${WRKDIST}/sbin/hatchet_mkdb
|
|
|
|
do-install:
|
|
@find ${WRKDIST} \( -name \*.bak -o -name \*.orig \) -delete
|
|
@cp -pR ${WRKDIST} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|