[120310] trunk/dports/devel

cal at macports.org cal at macports.org
Thu May 22 14:36:17 PDT 2014


Revision: 120310
          https://trac.macports.org/changeset/120310
Author:   cal at macports.org
Date:     2014-05-22 14:36:17 -0700 (Thu, 22 May 2014)
Log Message:
-----------
girara: new port, dependency of zathura, closes #43564

Added Paths:
-----------
    trunk/dports/devel/girara/
    trunk/dports/devel/girara/Portfile
    trunk/dports/devel/girara/files/
    trunk/dports/devel/girara/files/patch-Makefile.diff
    trunk/dports/devel/girara/files/patch-config.mk.diff

Added: trunk/dports/devel/girara/Portfile
===================================================================
--- trunk/dports/devel/girara/Portfile	                        (rev 0)
+++ trunk/dports/devel/girara/Portfile	2014-05-22 21:36:17 UTC (rev 120310)
@@ -0,0 +1,62 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+PortGroup           active_variants 1.1
+
+name                girara
+version             0.2.0
+categories          devel gnome
+platforms           darwin
+license             zlib
+maintainers         gmail.com:starkhalo
+description         Cross-platform widget toolkit based on GTK+
+long_description \
+    girara is a library that implements a user interface that focuses on    \
+    simplicity and minimalism. Currently based on GTK+, a cross-platform    \
+    widget toolkit, it proves an interface that focueses on three main com- \
+    ponents: A so-called view widget that represents the actual application \
+    (e.g. a website (browser), an image (image viewer) or the document      \
+    (document viewer)), an input bar that is used to execute commands of    \
+    the application and the status bar which provides the user with current \
+    information.
+
+homepage            http://pwmt.org/projects/${name}/
+
+master_sites        ${homepage}download/
+
+checksums           \
+    rmd160 e89c075c353548740ab9e3de1d8e6ccea61823f6 \
+    sha256 d14b54cb04d81ba3b84ad41c5e68951d250b455d0862add1c987e3af9e2e174d
+
+patchfiles          patch-Makefile.diff \
+                    patch-config.mk.diff
+
+depends_build       port:pkgconfig
+
+depends_lib         path:lib/libglib-2.0.dylib:glib2 \
+                    port:gtk3 \
+                    port:intltool
+
+require_active_variants \
+                    gtk3 x11 quartz
+
+use_configure       no
+
+variant universal   {}
+
+build.args          PREFIX=${prefix}
+build.env           CC=${configure.cc} \
+                    CXX=${configure.cxx} \
+                    CPP=${configure.cpp} \
+                    CFLAGS="[get_canonical_archflags cc]" \
+                    LDFLAGS="[get_canonical_archflags ld]" \
+                    VERBOSE=1
+
+eval destroot.env   ${build.env}
+eval destroot.args  ${build.args}
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     (\\d\\.\\d\\.\\d)


Property changes on: trunk/dports/devel/girara/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/girara/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/girara/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/girara/files/patch-Makefile.diff	2014-05-22 21:36:17 UTC (rev 120310)
@@ -0,0 +1,53 @@
+--- Makefile	2014-02-17 08:50:37.000000000 -0600
++++ /Users/harciga/dev/girara/Makefile	2014-05-03 20:40:22.000000000 -0500
+@@ -67,14 +67,14 @@
+ 
+ lib${PROJECT}.so.${SOVERSION}: ${OBJECTS}
+ 	$(ECHO) LD $@
+-	$(QUIET)${CC} -Wl,-soname,lib${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
++	$(QUIET)${CC} -Wl,-dylib_install_name,${LIBDIR}/lib${PROJECT}.${SOMAJOR}.dylib -dynamiclib -current_version ${SOVERSION} -compatibility_version ${SOMAJOR} ${LDFLAGS} -o lib${PROJECT}.${SOVERSION}.dylib ${OBJECTS} ${LIBS}
+ 
+ clean:
+ 	$(QUIET)rm -rf ${OBJECTS} ${PROJECT}-${VERSION}.tar.gz \
+ 		${DOBJECTS} lib${PROJECT}.a lib${PROJECT}-debug.a ${PROJECT}.pc doc \
+ 		lib$(PROJECT).so.${SOVERSION} lib${PROJECT}-debug.so.${SOVERSION} .depend \
+ 		${PROJECTNV}-${VERSION}.tar.gz version.h *gcda *gcno $(PROJECT).info gcov \
+-		.version-checks
++		lib${PROJECT}.${SOVERSION}.dylib .version-checks
+ 	$(QUIET)${MAKE} -C tests clean
+ 	$(QUIET)${MAKE} -C po clean
+ 
+@@ -86,7 +86,7 @@
+ 
+ lib${PROJECT}-debug.so.${SOVERSION}: ${DOBJECTS}
+ 	$(ECHO) LD $@
+-	$(QUIET)${CC} -Wl,-soname,lib${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} -o $@ ${DOBJECTS} ${LIBS}
++	$(QUIET)${CC} -Wl,-dylib_install_name,${LIBDIR}/lib${PROJECT}.${SOMAJOR}.dylib -dynamiclib -current_version ${SOVERSION} -compatibility_version ${SOMAJOR} ${LDFLAGS} -o lib${PROJECT}.${SOVERSION}.dylib ${DOBJECTS} ${LIBS}
+ 
+ debug: options ${PROJECT}-debug
+ 
+@@ -139,10 +139,10 @@
+ install-shared: shared
+ 	$(ECHO) installing shared library
+ 	$(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
+-	$(QUIET)install -m 644 lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}
+-	$(QUIET)ln -sf lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so.${SOMAJOR} || \
++	$(QUIET)install -m 644 lib${PROJECT}.${SOVERSION}.dylib ${DESTDIR}${LIBDIR}
++	$(QUIET)ln -sf lib${PROJECT}.${SOVERSION}.dylib ${DESTDIR}${LIBDIR}/lib${PROJECT}.${SOMAJOR}.dylib || \
+ 		echo "Failed to create lib${PROJECT}.so.${SOMAJOR}. Please check if it exists and points to the correct version of lib${PROJECT}.so."
+-	$(QUIET)ln -sf lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so || \
++	$(QUIET)ln -sf lib${PROJECT}.${SOVERSION}.dylib ${DESTDIR}${LIBDIR}/lib${PROJECT}.dylib || \
+ 		echo "Failed to create lib${PROJECT}.so. Please check if it exists and points to the correct version of lib${PROJECT}.so."
+ 
+ install: options po install-static install-shared install-headers
+@@ -159,7 +159,9 @@
+ uninstall: uninstall-headers
+ 	$(ECHO) removing library file
+ 	$(QUIET)rm -f ${LIBDIR}/lib${PROJECT}.a ${LIBDIR}/lib${PROJECT}.so.${SOVERSION} \
+-		${LIBDIR}/lib${PROJECT}.so.${SOMAJOR} ${LIBDIR}/lib${PROJECT}.so
++		${LIBDIR}/lib${PROJECT}.so.${SOMAJOR} ${LIBDIR}/lib${PROJECT}.so \
++		${LIBDIR}/lib${PROJECT}.${SOVERSION}.dylib \
++		${LIBDIR}/lib${PROJECT}.${SOMAJOR}.dylib ${LIBDIR}/lib${PROJECT}.dylib
+ 	$(QUIET)${MAKE} -C po uninstall
+ 
+ uninstall-headers:

Added: trunk/dports/devel/girara/files/patch-config.mk.diff
===================================================================
--- trunk/dports/devel/girara/files/patch-config.mk.diff	                        (rev 0)
+++ trunk/dports/devel/girara/files/patch-config.mk.diff	2014-05-22 21:36:17 UTC (rev 120310)
@@ -0,0 +1,11 @@
+--- config.mk	2014-02-17 08:50:37.000000000 -0600
++++ /Users/harciga/dev/girara/config.mk	2014-02-21 12:10:40.000000000 -0600
+@@ -47,7 +47,7 @@
+ CFLAGS += -std=c99 -pedantic -Wall -Wextra -fPIC $(INCS)
+ 
+ # linker flags
+-LDFLAGS += -fPIC
++LDFLAGS += -fPIC -fno-common
+ 
+ # debug
+ DFLAGS = -O0 -g
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140522/41431dcc/attachment.html>


More information about the macports-changes mailing list