aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2024-04-04 19:03:59 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2024-04-04 19:27:45 +0000
commit059d251a71c8dbe3a49a68bde4a39d1432ddeac8 (patch)
tree412b9e673bea618f3a53524bad0a679594fddffd
parent8fcc3c46edffbbb90f1e2b2d10371510e8ed9e48 (diff)
downloadports-059d251a71c8dbe3a49a68bde4a39d1432ddeac8.tar.gz
ports-059d251a71c8dbe3a49a68bde4a39d1432ddeac8.zip
emulators/flexemu: Clean up port
- Reduce the dependencies used by the port - Remove unfinished binaries - Correct pkg-plist Thanks for the hints from the author of the emulator. Reported by: Wolfgang Schwotzer <wolfgang.schwotzer@gmx.net>
-rw-r--r--emulators/flexemu/Makefile17
-rw-r--r--emulators/flexemu/pkg-plist5
2 files changed, 12 insertions, 10 deletions
diff --git a/emulators/flexemu/Makefile b/emulators/flexemu/Makefile
index 05f1f9ca864c..e53565fa3a39 100644
--- a/emulators/flexemu/Makefile
+++ b/emulators/flexemu/Makefile
@@ -1,6 +1,7 @@
PORTNAME= flexemu
DISTVERSIONPREFIX= V
DISTVERSION= 3.20
+PORTREVISION= 1
CATEGORIES= emulators
MAINTAINER= rhurlin@FreeBSD.org
@@ -14,13 +15,17 @@ USE_GITHUB= yes
GH_ACCOUNT= aladur
GH_TUPLE= google:googletest:e1a38bc3:googletest/googletest
USE_GL= gl
-USE_QT= buildtools:build concurrent core dbus declarative \
- declarative-test designer gui help multimedia network \
- opengl printsupport qmake:build script scripttools \
- sensors serialport sql svg testlib widgets x11extras \
- xml xmlpatterns
+USE_QT= buildtools:build core dbus gui network printsupport \
+ qmake:build widgets x11extras
USE_XORG= ice sm x11
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-install:
+ @${RM} ${STAGEDIR}${PREFIX}/bin/rcvflex
+ @${RM} ${STAGEDIR}${PREFIX}/bin/send2flx
+ @${RM} ${STAGEDIR}${PREFIX}/bin/testdaa
+
+.include <bsd.port.post.mk>
diff --git a/emulators/flexemu/pkg-plist b/emulators/flexemu/pkg-plist
index 53a6ecfce6ab..d82854e490d1 100644
--- a/emulators/flexemu/pkg-plist
+++ b/emulators/flexemu/pkg-plist
@@ -5,11 +5,8 @@ bin/flexemu
bin/flexplorer
bin/fromflex
bin/mdcrtool
-bin/rcvflex
-bin/send2flx
-bin/testdaa
bin/toflex
-%%ETCDIR%%.conf
+etc/flexemu.conf
share/applications/flexemu-flexplorer.desktop
share/applications/flexemu.desktop
%%DATADIR%%/6809diag.pdf