Ticket #19232: Portfile.diff
File Portfile.diff, 1.6 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 45795 2009-01-22 08:02:35Z digdog@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup muniversal 1.0 4 5 5 6 name gdbm 6 7 version 1.8.3 … … 17 18 homepage http://www.gnu.org/software/gdbm/gdbm.html 18 19 platforms darwin 19 20 master_sites gnu 20 distname ${name}-${version} 21 checksums md5 1d1b1d5c0245b1c00aff92da751e9aa1 22 patchfiles patch-Makefile.in 23 configure.args --mandir= \\\${prefix}/share/man --infodir=\\\${prefix}/share/info21 checksums md5 1d1b1d5c0245b1c00aff92da751e9aa1 \ 22 sha1 a0296b1986a99cb9ec0dc3b17ea99aec76e9b760 \ 23 rmd160 0f5741ab32f95db721c5d9f4548447301171e938 24 configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info 24 25 configure.ccache no 25 26 post-configure { 26 27 if {[variant_isset universal]} { 27 reinplace "s|-dynamiclib)|-dynamiclib) ${configure.universal_ldflags}|g" ${worksrcpath}/libtool 28 foreach arch ${universal_archs_to_use} { 29 reinplace "s|-dynamiclib)|-dynamiclib) ${configure.ldflags} [muniversal_get_arch_flag ${arch}]|" ${worksrcpath}-${arch}/libtool 30 } 31 } else { 32 reinplace "s|-dynamiclib)|-dynamiclib) ${configure.ldflags}|" ${worksrcpath}/libtool 28 33 } 29 34 } 30 p re-destroot{31 reinplace "s|-o \$(BINOWN) -g \$(BINGRP)||g" ${worksrcpath}/Makefile 35 post-patch { 36 reinplace "s|-o \$(BINOWN) -g \$(BINGRP)||g" ${worksrcpath}/Makefile.in 32 37 } 33 destroot. args prefix=${destroot}/${prefix}38 destroot.destdir prefix=${destroot}${prefix} 34 39 35 40 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar