[137247] trunk/dports/office/zathura-plugin-djvu

khindenburg at macports.org khindenburg at macports.org
Sun Jun 7 05:43:27 PDT 2015


Revision: 137247
          https://trac.macports.org/changeset/137247
Author:   khindenburg at macports.org
Date:     2015-06-07 05:43:27 -0700 (Sun, 07 Jun 2015)
Log Message:
-----------
zathura-plugin-djvu: update to 0.2.4 maintainer #47868

Modified Paths:
--------------
    trunk/dports/office/zathura-plugin-djvu/Portfile
    trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff

Modified: trunk/dports/office/zathura-plugin-djvu/Portfile
===================================================================
--- trunk/dports/office/zathura-plugin-djvu/Portfile	2015-06-07 12:33:19 UTC (rev 137246)
+++ trunk/dports/office/zathura-plugin-djvu/Portfile	2015-06-07 12:43:27 UTC (rev 137247)
@@ -4,10 +4,11 @@
 PortSystem          1.0
 
 name                zathura-plugin-djvu
-version             0.2.3
+version             0.2.4
 categories          office
 platforms           darwin
-maintainers         gmail.com:starkhalo openmaintainer
+maintainers         gmail.com:starkhalo \
+                    openmaintainer
 license             zlib
 
 description         The zathura-djvu plugin adds DjVu support to zathura.
@@ -19,12 +20,10 @@
 master_sites        http://pwmt.org/projects/zathura-djvu/download/
 distname            zathura-djvu-${version}
 
-checksums           rmd160  30e683a033410ccbb2d494f8ef00e06f40158ee5 \
-                    sha256  c16e82d525012b788fd01c4189df93708fcffffb7dd34ca09db55005d644ed89
+checksums           rmd160  109b9392111ad3e2dba72d7677ee7e5df4a160de \
+                    sha256  ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc
 
-patch.pre_args      -p1
-patchfiles          patch-Makefile.diff \
-                    patch-config.mk.diff
+patchfiles          patch-Makefile.diff
 
 depends_build       port:pkgconfig
 
@@ -45,8 +44,8 @@
                     LDFLAGS="[get_canonical_archflags ld]" \
                     VERBOSE=1
 
-eval destroot.env   ${build.env}
-eval destroot.args  ${build.args}
+destroot.env        {*}${build.env}
+destroot.args       {*}${build.args}
 
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"

Modified: trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff
===================================================================
--- trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff	2015-06-07 12:33:19 UTC (rev 137246)
+++ trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff	2015-06-07 12:43:27 UTC (rev 137247)
@@ -1,8 +1,6 @@
-diff --git a/Makefile b/Makefile
-index f4d4d6b..d468f3e 100644
---- a/Makefile
-+++ b/Makefile
-@@ -20,7 +20,7 @@ CPPFLAGS += "-DVERSION_MAJOR=${VERSION_MAJOR}"
+--- Makefile.orig	2015-05-27 18:33:13.000000000 -0500
++++ Makefile	2015-05-27 18:34:12.000000000 -0500
+@@ -20,7 +20,7 @@
  CPPFLAGS += "-DVERSION_MINOR=${VERSION_MINOR}"
  CPPFLAGS += "-DVERSION_REV=${VERSION_REV}"
  
@@ -11,7 +9,7 @@
  
  zathura-version-check:
  ifneq ($(ZATHURA_VERSION_CHECK), 0)
-@@ -48,16 +48,16 @@ options:
+@@ -48,16 +48,16 @@
  ${OBJECTS}:  config.mk zathura-version-check
  ${DOBJECTS}: config.mk zathura-version-check
  
@@ -19,7 +17,7 @@
 +${PLUGIN}.dylib: ${OBJECTS}
  	$(ECHO) LD $@
 -	$(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
-+	$(QUIET)${CC} -Wl,-dylib_install_name,${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
++	$(QUIET)${CC} -Wl,-dylib_install_name,${DESTDIR}${PLUGINDIR}/${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
  
  ${PLUGIN}-debug.so: ${DOBJECTS}
  	$(ECHO) LD $@
@@ -31,7 +29,7 @@
  		doc .depend ${PROJECT}-${VERSION}.tar.gz zathura-version-check
  
  debug: options ${PLUGIN}-debug.so
-@@ -77,7 +77,7 @@ doc: clean
+@@ -77,7 +77,7 @@
  install: all
  	$(ECHO) installing ${PLUGIN} plugin
  	$(QUIET)mkdir -p ${DESTDIR}${PLUGINDIR}
@@ -40,7 +38,7 @@
  	$(QUIET)mkdir -m 755 -p ${DESTDIR}${DESKTOPPREFIX}
  	$(ECHO) installing desktop file
  	$(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX}
-@@ -85,11 +85,11 @@ install: all
+@@ -85,11 +85,11 @@
  
  uninstall:
  	$(ECHO) uninstalling ${PLUGIN} plugin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150607/5a93624d/attachment-0001.html>


More information about the macports-changes mailing list