summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2006-12-27 18:24:26 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2006-12-27 18:24:26 +0000
commitbbe62e266b127e7e99a5c2aee95ad96f9c55c03c (patch)
tree4f7d5582fd5f5bbd5a7102424404a3ff7531c0e4 /pkgs
parent7a79d1ff6a6a0b342cc33aff94446af601a825b2 (diff)
downloadnixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar.gz
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar.bz2
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar.lz
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar.xz
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.tar.zst
nixlib-bbe62e266b127e7e99a5c2aee95ad96f9c55c03c.zip
* Remove references to dontMakeInstall.
svn path=/nixpkgs/trunk/; revision=7500
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/graphics/xfig/builder.sh26
-rw-r--r--pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9-beta/builder.sh7
-rw-r--r--pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh7
-rw-r--r--pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/builder.sh8
-rw-r--r--pkgs/development/libraries/xlibs-wrapper/builder.sh6
-rw-r--r--pkgs/development/libraries/xlibs-wrapper/default.nix4
-rw-r--r--pkgs/games/quake3/game/builder.sh9
-rw-r--r--pkgs/misc/tex/lazylist/builder.sh11
-rw-r--r--pkgs/misc/tex/polytable/builder.sh11
9 files changed, 21 insertions, 68 deletions
diff --git a/pkgs/applications/graphics/xfig/builder.sh b/pkgs/applications/graphics/xfig/builder.sh
deleted file mode 100644
index f4c77ff8ad21..000000000000
--- a/pkgs/applications/graphics/xfig/builder.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-source $stdenv/setup
-source $makeWrapper
-
-makeFlags="XAWLIB=-lXaw3d BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults LIBDIR=$out/lib/X11 XFIGDOCDIR=$out/share/doc/xfig MANPATH=$out/man"
-
-preBuild=preBuild
-preBuild() {
-    echo "#define XAW3D" >> Imakefile.tmp
-    echo "#define XAW3D1_5E" >> Imakefile.tmp
-    cat Imakefile >> Imakefile.tmp
-    mv Imakefile.tmp Imakefile
-    xmkmf
-}
-
-dontMakeInstall=1
-preInstall=preInstall
-preInstall() {
-    make install.all $makeFlags
-
-    mv $out/bin/xfig $out/bin/.xfig
-
-    makeWrapper $out/bin/.xfig $out/bin/xfig \
-        --set XAPPLRESDIR $out/etc/X11/app-defaults
-}
-
-genericBuild
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9-beta/builder.sh b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9-beta/builder.sh
index 8db3bc334a95..f6376af13704 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9-beta/builder.sh
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9-beta/builder.sh
@@ -1,10 +1,9 @@
 source $stdenv/setup
 
-dontBuild=1
-dontMakeInstall=1
+buildPhase=true
 
-postInstall=postInstall
-postInstall() {
+installCommand=myInstall
+myInstall() {
     mkdir -p $out/lib/mozilla/plugins
     cp -p libflashplayer.so $out/lib/mozilla/plugins
     echo "$zlib/lib" > $out/lib/mozilla/plugins/extra-library-path
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh
index 8b68b8182e25..9c8e423ce6df 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh
@@ -1,10 +1,9 @@
 source $stdenv/setup
 
-dontBuild=1
-dontMakeInstall=1
+buildPhase=true
 
-postInstall=postInstall
-postInstall() {
+installCommand=myInstall
+myInstall() {
     mkdir -p $out/lib/mozilla/plugins
     cp -p flashplayer.xpt libflashplayer.so $out/lib/mozilla/plugins
     echo "$zlib/lib:$libXmu/lib" > $out/lib/mozilla/plugins/extra-library-path
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/builder.sh b/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/builder.sh
index b936d88995e5..cb40e299d9fb 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/builder.sh
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/builder.sh
@@ -12,11 +12,9 @@ PKG_CONFIG_PATH=$NIX_BUILD_TOP/pkgconfig:$PKG_CONFIG_PATH
 firefoxIncl=$(echo $firefox/include/firefox-*)
 export NIX_CFLAGS_COMPILE="-I$firefoxIncl $NIX_CFLAGS_COMPILE"
 
-dontMakeInstall=1
-
-postInstall=postInstall
-postInstall() {
-    mkdir -p $out/lib/mozilla/plugins
+installCommand=myInstall
+myInstall() {
+    ensureDir $out/lib/mozilla/plugins
     cp -p mplayerplug-in*.so mplayerplug-in*.xpt $out/lib/mozilla/plugins
 }
 
diff --git a/pkgs/development/libraries/xlibs-wrapper/builder.sh b/pkgs/development/libraries/xlibs-wrapper/builder.sh
index 7e40acf9198e..273fc55c7552 100644
--- a/pkgs/development/libraries/xlibs-wrapper/builder.sh
+++ b/pkgs/development/libraries/xlibs-wrapper/builder.sh
@@ -1,8 +1,2 @@
 source $stdenv/setup
-dontBuild=1
-dontMakeInstall=1
-nop() {
-    sourceRoot=.
-}
-unpackPhase=nop
 genericBuild
diff --git a/pkgs/development/libraries/xlibs-wrapper/default.nix b/pkgs/development/libraries/xlibs-wrapper/default.nix
index 2593eef158c9..91c1446ef206 100644
--- a/pkgs/development/libraries/xlibs-wrapper/default.nix
+++ b/pkgs/development/libraries/xlibs-wrapper/default.nix
@@ -2,7 +2,9 @@
 
 stdenv.mkDerivation {
   name = "xlibs-wrapper";
-  builder = ./builder.sh;
+  buildPhase = "true";
+  installPhase = "true";
+  unpackPhase = "sourceRoot=.";
   propagatedBuildInputs = packages;
 } // {
   # For compatability with XFree86.
diff --git a/pkgs/games/quake3/game/builder.sh b/pkgs/games/quake3/game/builder.sh
index 82025c76903d..9082b8f21ad5 100644
--- a/pkgs/games/quake3/game/builder.sh
+++ b/pkgs/games/quake3/game/builder.sh
@@ -1,10 +1,7 @@
 source $stdenv/setup
 
-dontMakeInstall=1
-preInstall=preInstall
-preInstall() {
-    ensureDir $out/baseq3
-    make copyfiles COPYDIR=$out
-}
+ensureDir $out/baseq3
+installTargets=copyfiles
+installFlags="COPYDIR=$out"
 
 genericBuild
diff --git a/pkgs/misc/tex/lazylist/builder.sh b/pkgs/misc/tex/lazylist/builder.sh
index f355a55a99fc..140b07f7be70 100644
--- a/pkgs/misc/tex/lazylist/builder.sh
+++ b/pkgs/misc/tex/lazylist/builder.sh
@@ -1,18 +1,13 @@
 source $stdenv/setup
 
-phases="installPhase"
-dontMakeInstall="yes"
-prefix="$out"
-
-preInstall() {
+buildPhase=true
 
+installPhase=myInstallPhase
+myInstallPhase() {
   ensureDir "$out/share/texmf-nix/tex/latex/lazylist"
   cp lazylist.sty "$out/share/texmf-nix/tex/latex/lazylist"
-
 }
 
-preInstall=preInstall
-
 genericBuild
 
 
diff --git a/pkgs/misc/tex/polytable/builder.sh b/pkgs/misc/tex/polytable/builder.sh
index fa1143edcbae..6d8f8cffe593 100644
--- a/pkgs/misc/tex/polytable/builder.sh
+++ b/pkgs/misc/tex/polytable/builder.sh
@@ -1,11 +1,9 @@
 source $stdenv/setup
 
-phases="installPhase"
-dontMakeInstall="yes"
-prefix="$out"
-
-preInstall() {
+buildPhase=true
 
+installPhase=myInstallPhase
+myInstallPhase() {
   ensureDir "$out/share/texmf-nix/tex/latex/polytable"
   ensureDir "$out/share/texmf-nix/doc/latex/polytable"
   latex polytable.ins
@@ -13,9 +11,6 @@ preInstall() {
   pdflatex polytable.dtx
   cp polytable.sty "$out/share/texmf-nix/tex/latex/polytable"
   cp polytable.pdf "$out/share/texmf-nix/doc/latex/polytable"
-
 }
 
-preInstall=preInstall
-
 genericBuild