Index: graphics/imv/Makefile =================================================================== --- graphics/imv/Makefile +++ 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 @@ -13,6 +13,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage +BUILD_DEPENDS= asciidoc:textproc/asciidoc TEST_DEPENDS= ${LOCALBASE}/lib/libcmocka.so:sysutils/cmocka USES= desktop-file-utils localbase gmake @@ -27,15 +28,9 @@ 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 Index: graphics/imv/distinfo =================================================================== --- graphics/imv/distinfo +++ 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 Index: graphics/imv/files/patch-Makefile =================================================================== --- /dev/null +++ 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