Ignore:
Timestamp:
Apr 30, 2015, 1:35:13 AM (5 years ago)
Author:
devans@…
Message:

xgsch2pcb: update homepage and broken master_sites, dependencies, fix outdated python configuration that breaks automake and reconfigure using intltoolize and autoreconf for intltool 0.51 compatibility, add appropriate post-activate actions.

Location:
trunk/dports/cad/xgsch2pcb
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cad/xgsch2pcb/Portfile

    r114293 r135693  
     1# -*- 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
    12# $Id$
    23
     
    56name                xgsch2pcb
    67version             0.1.3
    7 revision            2
     8revision            3
    89categories          cad science electronics
    910license             GPL-2+
     
    1617                    creating new projects.
    1718
    18 homepage            http://geda.seul.org/wiki/geda:download
     19homepage            http://wiki.geda-project.org/geda:download
    1920platforms           darwin
    2021supported_archs     noarch
    21 master_sites        http://geda.seul.org/dist/
     22# upstream download site no longer available
     23# use macports distfile mirrors instead
     24master_sites        macports_distfiles:xgsch2pcb
    2225checksums           md5     caf84bc0f17b75a2984fea2a64fc2c81 \
    2326                    sha1    5bddd5973c2ecf8c43e03ee3f9484de44f649572
    2427distname            geda-${name}-${version}
    25 depends_build       port:intltool \
    26                     port:desktop-file-utils
    27 depends_lib         port:pcb \
     28depends_build       port:intltool
     29depends_lib         port:desktop-file-utils \
     30                    port:gtk2 \
     31                    port:pcb \
    2832                    port:py27-pygtk \
    2933                    port:dbus-python27
     34
     35patchfiles          patch-configure.ac.diff \
     36                    patch-Makefile.am.diff
     37
     38# no upstream autogen.sh available
     39# reconfigure using intltoolize and autoreconf for intltool 0.51 compatibility
     40
     41pre-configure {
     42    system -W ${worksrcpath} "intltoolize --automake --copy --force"
     43}
     44
     45use_autoreconf  yes
     46autoreconf.args -fvi
     47
    3048configure.python    ${prefix}/bin/python2.7
     49configure.args      --disable-update-desktop-database
    3150
    32 post-destroot {
    33     file delete  ${destroot}${prefix}/share/applications/mimeinfo.cache
     51post-activate {
     52    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     53    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    3454}
Note: See TracChangeset for help on using the changeset viewer.