aboutsummaryrefslogtreecommitdiff
path: root/graphics/imv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imv/Makefile')
-rw-r--r--graphics/imv/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile
index 9f0d913cd704..4a20c27439dd 100644
--- a/graphics/imv/Makefile
+++ b/graphics/imv/Makefile
@@ -1,7 +1,7 @@
PORTNAME= imv
DISTVERSIONPREFIX= v
DISTVERSION= 4.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= https://git.sr.ht/~exec64/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
@@ -76,4 +76,9 @@ X11_USE= GL=glu \
XORG=x11,xcb
X11_MESON_ON= -Dwindows=x11
+post-patch:
+ @${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \
+ ${WRKSRC}/src/imv.c \
+ ${WRKSRC}/doc/imv.1.txt
+
.include <bsd.port.mk>