Hi All,

straightforward patch to 4.4.47. maim drops imlib2 dependence and switch
to C++11. Tested on and64.

Regards,

Rafael Sadowski

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/maim/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile    25 Aug 2015 13:18:27 -0000      1.12
+++ Makefile    25 Feb 2017 09:13:12 -0000
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.12 2015/08/25 13:18:27 sthen Exp $
 
-V =            3.4.43
+V =            4.4.47
 COMMENT =      desktop screenshot utility (make image)
 DISTNAME =     maim-${V}
 CATEGORIES =   graphics x11
-REVISION =     0
 
 GH_ACCOUNT =   naelstrof
 GH_PROJECT =   maim
@@ -13,11 +12,17 @@ GH_TAGNAME =        v${V}
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += ICE Imlib2 SM X11 Xext Xfixes Xrandr c m stdc++
+WANTLIB += GL ICE SM X11 Xext Xfixes Xrandr c jpeg m png pthread
+WANTLIB += z
 
-MODULES =      devel/cmake
+MODULES =      devel/cmake \
+               gcc4
 
-LIB_DEPENDS =  graphics/imlib2
+MODGCC4_LANGS =        c++
+MODGCC4_ARCHS =        *
+
+LIB_DEPENDS +=         graphics/jpeg \
+                       graphics/png
 
 RUN_DEPENDS =  graphics/slop
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/maim/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo    23 Jun 2015 01:45:34 -0000      1.8
+++ distinfo    25 Feb 2017 09:13:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (maim-3.4.43.tar.gz) = 6i8st7Sqjw6cdG9OFCNjzq9olqoDaPMbrM/w9lpbW2s=
-SIZE (maim-3.4.43.tar.gz) = 43670
+SHA256 (maim-4.4.47.tar.gz) = cRhUUETduwghWPwnfBLSHVai9zZwOTVC0kYsVMIV2C0=
+SIZE (maim-4.4.47.tar.gz) = 32382

Reply via email to