aboutsummaryrefslogtreecommitdiff
path: root/graphics/imv
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-05-13 21:13:45 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-05-13 21:13:45 +0000
commita330f0ff1ad055781c8e34b462babd6a177981e7 (patch)
tree11ad9ccbaf5d66a9530872aa5fd26e24949b2333 /graphics/imv
parentff81797bc7cd06f0706fdfc7c8f0fb752535dbe2 (diff)
Update graphics/imv to 3.0.0
* Use DISTVERSION instead PORTVERSION * Remove custom do-install target PR: 227097 Reported by: lebarondemerde@privacychain.ch Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D15397
Notes
Notes: svn path=/head/; revision=469833
Diffstat (limited to 'graphics/imv')
-rw-r--r--graphics/imv/Makefile13
-rw-r--r--graphics/imv/distinfo6
-rw-r--r--graphics/imv/files/patch-Makefile31
3 files changed, 38 insertions, 12 deletions
diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile
index 90ce6b02d756..5d1bdfae3242 100644
--- a/graphics/imv/Makefile
+++ b/graphics/imv/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= imv
-PORTVERSION= 2.1.3
DISTVERSIONPREFIX= v
+DISTVERSION= 3.0.0
CATEGORIES= graphics
MAINTAINER= ports@FreeBSD.org
@@ -11,6 +11,7 @@ COMMENT= Simple image viewer
LICENSE= GPLv2
+BUILD_DEPENDS= asciidoc:textproc/asciidoc
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreeimage.so:graphics/freeimage
TEST_DEPENDS= ${LOCALBASE}/lib/libcmocka.so:sysutils/cmocka
@@ -27,15 +28,9 @@ TEST_TARGET= check
MAKE_ARGS= V=1
PLIST_FILES= bin/imv \
+ etc/imv_config \
man/man1/imv.1.gz \
+ man/man5/imv.5.gz \
share/applications/imv.desktop
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/build/imv \
- ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/files/imv.desktop \
- ${STAGEDIR}${PREFIX}/share/applications
- ${INSTALL_MAN} ${WRKSRC}/doc/imv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-
.include <bsd.port.mk>
diff --git a/graphics/imv/distinfo b/graphics/imv/distinfo
index 3bfc599802e2..f041a121f99d 100644
--- a/graphics/imv/distinfo
+++ b/graphics/imv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477141222
-SHA256 (eXeC64-imv-v2.1.3_GH0.tar.gz) = f0b9acd7cff1d2f7301cb5cffb261ace4d0af2003dc4a293d9a37e73074978b7
-SIZE (eXeC64-imv-v2.1.3_GH0.tar.gz) = 27664
+TIMESTAMP = 1525879303
+SHA256 (eXeC64-imv-v3.0.0_GH0.tar.gz) = 51c3fc49b4db8b13f55816a502b68f4f660a8dfccd109cdea5af23cc9f613fad
+SIZE (eXeC64-imv-v3.0.0_GH0.tar.gz) = 42611
diff --git a/graphics/imv/files/patch-Makefile b/graphics/imv/files/patch-Makefile
new file mode 100644
index 000000000000..a4c0131f0a58
--- /dev/null
+++ b/graphics/imv/files/patch-Makefile
@@ -0,0 +1,31 @@
+--- Makefile.orig 2018-05-08 20:17:30 UTC
++++ Makefile
+@@ -2,9 +2,9 @@
+
+ PREFIX ?= /usr
+ BINPREFIX ?= $(PREFIX)/bin
+-MANPREFIX ?= $(PREFIX)/share/man
++MANPREFIX ?= $(PREFIX)/man
+ DATAPREFIX ?= $(PREFIX)/share
+-CONFIGPREFIX ?= /etc
++CONFIGPREFIX ?= $(PREFIX)/etc
+
+ CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes
+ CFLAGS += -std=c99
+@@ -56,11 +56,11 @@ doc/%: doc/%.txt
+ a2x --no-xmllint --doctype manpage --format manpage $<
+
+ install: $(TARGET) doc
+- install -D -m 0755 $(TARGET) $(DESTDIR)$(BINPREFIX)/imv
+- install -D -m 0644 doc/imv.1 $(DESTDIR)$(MANPREFIX)/man1/imv.1
+- install -D -m 0644 doc/imv.5 $(DESTDIR)$(MANPREFIX)/man5/imv.5
+- install -D -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop
+- install -D -m 0644 files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config
++ install -m 0755 $(TARGET) $(DESTDIR)$(BINPREFIX)/imv
++ install -m 0644 doc/imv.1 $(DESTDIR)$(MANPREFIX)/man/man1/imv.1
++ install -m 0644 doc/imv.5 $(DESTDIR)$(MANPREFIX)/man/man5/imv.5
++ install -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop
++ install -m 0644 files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config
+
+ uninstall:
+ $(RM) $(DESTDIR)$(BINPREFIX)/imv