From 56c68477267d28f86b46692754874ea93526f47d Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 22 Jan 2024 17:10:23 +0300 Subject: FreeBSD port: allow `make test` and appease `make check-plist` --- freebsd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'freebsd') diff --git a/freebsd/Makefile b/freebsd/Makefile index ee90d80..5b52941 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -27,8 +27,12 @@ USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= +# Out-of-tree builds are broken without special preparation +# (see INSTALL in SciTECO source distribution). +#CONFIGURE_OUTSOURCE=yes MAKEFILE= GNUmakefile +TEST_TARGET= check # NOTE: Unlike on Debian, we cannot build a sciteco-common package. # FreeBSD does not yet support subpackages. @@ -81,6 +85,8 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/ico/sciteco-${SZ}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/sciteco.png .endfor + # To appease `make check-plist`: + ${RM} ${STAGEDIR}${DATADIR}/*.png ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/src/sciteco.desktop \ ${STAGEDIR}${PREFIX}/share/applications/sciteco.desktop -- cgit v1.2.3