Changeset 23154


Ignore:
Timestamp:
Mar 26, 2007, 7:30:30 PM (13 years ago)
Author:
pipping@…
Message:
  • replace hardcoded prefix with variable
Location:
trunk/dports
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/LyX/Portfile

    r21855 r23154  
    2525configure.env   CC="gcc-3.3" CXX="g++-3.3" \
    2626    LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz" \
    27     QTDIR="/opt/local" CPPFLAGS="-I/opt/local/include/qt3"
     27    QTDIR="${prefix}" CPPFLAGS="-I${prefix}/include/qt3"
    2828
    2929configure.args --with-frontend=qt --without-x --with-included-gettext \
  • trunk/dports/devel/qtcsharp/Portfile

    r20444 r23154  
    2525        cd ${worksrcpath}/src
    2626        system "${prefix}/bin/qmake src.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
    27         system "cd libqtsharp && ${prefix}/bin/qmake libqtsharp.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun -o Makefile"
    28         system "cd generator && ${prefix}/bin/qmake generator.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun -o Makefile"
    29         system "cd bindings && ${prefix}/bin/qmake bindings.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun -o Makefile"
     27        system "cd libqtsharp && ${prefix}/bin/qmake libqtsharp.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
     28        system "cd generator && ${prefix}/bin/qmake generator.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
     29        system "cd bindings && ${prefix}/bin/qmake bindings.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
    3030        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-src-Makefile"
    3131        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-generator-Makefile"
  • trunk/dports/games/pennmush/Portfile

    r20296 r23154  
    3232        xinstall game/restrictcnf.dst game/restrict.cnf
    3333       
    34         reinplace "s|GAMEDIR=|GAMEDIR=/opt/local/pennmush|g" game/restart
     34        reinplace "s|GAMEDIR=|GAMEDIR=${prefix}/pennmush|g" game/restart
    3535}
    3636
  • trunk/dports/gnome/glade/Portfile

    r22660 r23154  
    3535post-activate    {
    3636        ui_msg "--------------------------------------------------------------------------"
    37         ui_msg "Remember to set ACLOCAL_FLAGS=\"-I /opt/local/share/glade-2\""
     37        ui_msg "Remember to set ACLOCAL_FLAGS=\"-I ${prefix}/share/glade-2\""
    3838        ui_msg "--------------------------------------------------------------------------"
    3939}
  • trunk/dports/gnome/glom/Portfile

    r23059 r23154  
    3232                PYTHON_PREFIX="${prefix}"
    3333
    34 configure.args  --with-postgres-utils=/opt/local/lib/postgresql81/bin \
     34configure.args  --with-postgres-utils=${prefix}/lib/postgresql81/bin \
    3535                --disable-scrollkeeper
    3636
  • trunk/dports/lang/swi-prolog/Portfile

    r23046 r23154  
    4343distname        pl-${version}
    4444
    45 configure.env   LIBRARY_PATH=/opt/local/lib \
    46                 CPATH=/opt/local/include \
    47                 JUNIT=/opt/local/share/java/junit.jar
     45configure.env   LIBRARY_PATH=${prefix}/lib \
     46                CPATH=${prefix}/include \
     47                JUNIT=${prefix}/share/java/junit.jar
    4848
    4949configure.args  --prefix=${prefix}              \
     
    5151                --with-world
    5252
    53 build.env       LIBRARY_PATH=/opt/local/lib \
    54                 CPATH=/opt/local/include \
    55                 JUNIT=/opt/local/share/java/junit.jar
     53build.env       LIBRARY_PATH=${prefix}/lib \
     54                CPATH=${prefix}/include \
     55                JUNIT=${prefix}/share/java/junit.jar
    5656
    5757default_variants +mt
  • trunk/dports/math/optpp/Portfile

    r20168 r23154  
    2525variant mpi {
    2626        configure.args-append --enable-mpi
    27         configure.env-append MPICC=/opt/local/lib/openmpi/bin/mpicc \
    28                                  MPICXX=/opt/local/lib/openmpi/bin/mpic++ \
    29                                  MPILIBS='-L/opt/local/lib'
    30         build.env MPILIBS='-L/opt/local/lib'
     27        configure.env-append MPICC=${prefix}/lib/openmpi/bin/mpicc \
     28                                 MPICXX=${prefix}/lib/openmpi/bin/mpic++ \
     29                                 MPILIBS='-L${prefix}/lib'
     30        build.env MPILIBS='-L${prefix}/lib'
    3131        depends_lib port:openmpi
    3232}
  • trunk/dports/net/libipgeo/Portfile

    r20342 r23154  
    2121checksums       md5 ecda3fa8a682a5ac990ad0d8b7f48a3f
    2222depends_lib     port:libnet11 port:libpcap
    23 configure.env   CFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
     23configure.env   CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
  • trunk/dports/ruby/rb-plruby/Portfile

    r20401 r23154  
    2222platforms               darwin
    2323
    24 configure.args-append   extconf.rb  --with-pgsql-include=/opt/local/include/postgresql81/ \
    25                                     --with-pgsql-lib=/opt/local/lib/postgresql81/ \
     24configure.args-append   extconf.rb  --with-pgsql-include=${prefix}/include/postgresql81/ \
     25                                    --with-pgsql-lib=${prefix}/lib/postgresql81/ \
    2626
    2727post-activate {
  • trunk/dports/security/pinentry/Portfile

    r22973 r23154  
    4545variant qt3 {
    4646        depends_lib lib:libqt-mt.3:qt3
    47         configure.env-append QTDIR=/opt/local/lib MOC=/opt/local/bin/moc
     47        configure.env-append QTDIR=${prefix}/lib MOC=${prefix}/bin/moc
    4848        configure.args-append --enable-pinentry-qt --enable-fallback-curses \
    49                 --with-qt-includes=/opt/local/include/qt3 \
    50                 --with-qt-libraries=/opt/local/lib
     49                --with-qt-includes=${prefix}/include/qt3 \
     50                --with-qt-libraries=${prefix}/lib
    5151}
    5252
  • trunk/dports/www/alphamail/Portfile

    r20488 r23154  
    1515master_sites      http://alphamail.uoosl.org/releases/
    1616checksums         md5 a1ede89d69918c144bb3ba11ba44d5b8
    17 configure.env     CXXFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
     17configure.env     CXXFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
    1818depends_build     port:boost\
    1919                  port:apache2\
Note: See TracChangeset for help on using the changeset viewer.