aboutsummaryrefslogtreecommitdiffhomepage
path: root/freebsd/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-22 17:10:23 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-22 17:10:23 +0300
commit56c68477267d28f86b46692754874ea93526f47d (patch)
treedd5e68dd6bb3110553e5ba375a1e424652242736 /freebsd/Makefile
parent1a3828cc0d66e0afbcd2ea91ae1fd948c7e7056f (diff)
downloadsciteco-56c68477267d28f86b46692754874ea93526f47d.tar.gz
FreeBSD port: allow `make test` and appease `make check-plist`
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile6
1 files changed, 6 insertions, 0 deletions
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