I can't seem to get /etc/tripwire/twpol-OpenBSD.txt to be a part of package.tgz, after "make fake" twpol-OpenBSD.txt is rightly in ${WRKINST}/etc/tripwire/, but "make package" excludes the configuration file from package.tgz and includes only files within ${PREFIX}. How do I install configuration files which go into /etc?
Makefile # $OpenBSD: Makefile.template,v 1.87 2020/03/22 17:18:01 cwen Exp $ COMMENT= verify the integrity of the files on a given system V= 2.4.3.7 DISTNAME= tripwire-open-source-${V} PKGNAME= tripwire-${V} REVISION= 0 CATEGORIES= security # GPLv2 PERMIT_PACKAGE= Yes MASTER_SITES= https://github.com/Tripwire/tripwire-open-source/releases/download/${V}/ CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --sysconfdir=/etc/tripwire do-install: # This package doesn't have a typical make ${INSTALL_TARGET}, so we do it by hand. # #create var/db directories ${INSTALL_DATA_DIR} ${WRKINST}/var/db/tripwire/ ${INSTALL_DATA_DIR} ${WRKINST}/var/db/tripwire/report/ #install bin/binaries ${INSTALL_SCRIPT} ${WRKSRC}/bin/siggen ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/tripwire ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twadmin ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twprint ${PREFIX}/bin/ #copy install files for use by user after install, and fix a path ${INSTALL_DATA_DIR} ${PREFIX}/share/tripwire/ ${INSTALL_SCRIPT} ${WRKSRC}/installer/install.sh ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/installer/install.cfg ${PREFIX}/share/tripwire/ sed -i 's#./install/install.cfg#./install.cfg#' ${PREFIX}/share/tripwire/install.sh ${INSTALL_DATA} ${WRKSRC}/policy/policyguide.txt ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/COMMERCIAL ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/ReadMe-2.4.3 ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/TRADEMARK ${PREFIX}/share/tripwire/ #install man/man pages ${INSTALL_DATA} ${WRKSRC}/man/man4/*.4 ${PREFIX}/man/man4/ ${INSTALL_DATA} ${WRKSRC}/man/man5/*.5 ${PREFIX}/man/man5/ ${INSTALL_DATA} ${WRKSRC}/man/man8/*.8 ${PREFIX}/man/man8/ #install configuration files ${INSTALL_DATA_DIR} ${WRKINST}/etc/tripwire/ ${INSTALL_DATA} ${WRKSRC}/policy/twpol-OpenBSD.txt ${WRKINST}/etc/tripwire/ .include <bsd.port.mk>