aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/maim/Makefile20
-rw-r--r--graphics/maim/distinfo5
2 files changed, 16 insertions, 9 deletions
diff --git a/graphics/maim/Makefile b/graphics/maim/Makefile
index db6e56edbf10..6a5607e3d22f 100644
--- a/graphics/maim/Makefile
+++ b/graphics/maim/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= maim
-PORTVERSION= 3.4.47
+PORTVERSION= 5.5.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics
@@ -10,17 +10,23 @@ COMMENT= Screenshot utility with performance improvements over scrot
LICENSE= GPLv3
-LIB_DEPENDS= libImlib2.so:graphics/imlib2
+BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
+LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
+ libicuuc.so:devel/icu \
+ libpng16.so:graphics/png \
+ libslopy.so:x11/slop
+USES= cmake jpeg
USE_GITHUB= yes
GH_ACCOUNT= naelstrof
-
-USES= cmake
-USE_XORG= x11 xrandr xfixes
+USE_GL= gl glut
+USE_XORG= ice sm x11 xcomposite xext xfixes xrandr xrender
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+CMAKE_ARGS= -DSLOP_LIBRARIES=${LOCALBASE}/lib/libslopy.so
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man-src/${PORTNAME}.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/graphics/maim/distinfo b/graphics/maim/distinfo
index d371695c917d..422ac75851da 100644
--- a/graphics/maim/distinfo
+++ b/graphics/maim/distinfo
@@ -1,2 +1,3 @@
-SHA256 (naelstrof-maim-v3.4.47_GH0.tar.gz) = fb12524cc05f7f4ff46fe40b951334c6dbc274e50b6d0ea08185f555ca3cd74d
-SIZE (naelstrof-maim-v3.4.47_GH0.tar.gz) = 46799
+TIMESTAMP = 1527211487
+SHA256 (naelstrof-maim-v5.5.1_GH0.tar.gz) = 5a954fa2feb80809874517804f7fdea703ac36a709b3f6cd9310a66cbb027cb7
+SIZE (naelstrof-maim-v5.5.1_GH0.tar.gz) = 39601