diff options
author | asau <asau@pkgsrc.org> | 2009-12-11 17:47:28 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-11 17:47:28 +0000 |
commit | 2b0b9205083cdfc99ca51ca9068304d7f2930005 (patch) | |
tree | 2ba7251c7e864480f84e9fbea807a32ba063bafa /math/xfractint | |
parent | 245a37570c0b8b2ead1fb31b22671d5e1c8fbfd9 (diff) | |
download | pkgsrc-2b0b9205083cdfc99ca51ca9068304d7f2930005.tar.gz |
Support staged installation.
Diffstat (limited to 'math/xfractint')
-rw-r--r-- | math/xfractint/Makefile | 6 | ||||
-rw-r--r-- | math/xfractint/distinfo | 4 | ||||
-rw-r--r-- | math/xfractint/patches/patch-ab | 25 |
3 files changed, 27 insertions, 8 deletions
diff --git a/math/xfractint/Makefile b/math/xfractint/Makefile index 4c8c07722db..63c89a059ef 100644 --- a/math/xfractint/Makefile +++ b/math/xfractint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/03/04 11:02:25 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2009/12/11 17:47:28 asau Exp $ # DISTNAME= xfrac310 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://spanky.triumf.ca/pub/fractals/programs/unix/ COMMENT= Fractint for X11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LIBTOOL= yes @@ -21,7 +23,7 @@ MAKE_FLAGS+= SRCDIR=${PREFIX}/share/xfractint BUILD_TARGET= xfractint BUILDLINK_TRANSFORM+= l:ncurses:curses -INSTALLATION_DIRS= share/xfractint +INSTALLATION_DIRS= bin $(PKGMANDIR)/man1 share/xfractint MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} diff --git a/math/xfractint/distinfo b/math/xfractint/distinfo index 581059c1638..a159cdd34a0 100644 --- a/math/xfractint/distinfo +++ b/math/xfractint/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.7 2007/07/28 01:42:50 joerg Exp $ +$NetBSD: distinfo,v 1.8 2009/12/11 17:47:28 asau Exp $ SHA1 (xfrac310.zip) = 420de4ca20623b4fe6b6367a269e5525b6bff3af RMD160 (xfrac310.zip) = ede481d77f8f5b71a6cef9d7ec4b2e09d9662f5b Size (xfrac310.zip) = 1074760 bytes SHA1 (patch-aa) = 43815e2af79a7b438992169fa5f0b9afe30d9b2e -SHA1 (patch-ab) = 4bde32376bc1fac3a620e5be0900c4c640277f73 +SHA1 (patch-ab) = d9e793dfe453cb097d671eb764cdf71f95a87eb8 SHA1 (patch-ac) = 443495aed2e6b7ca8f4659b298b4b789d681c847 SHA1 (patch-ad) = 9e337c7bff36aee223630bbc1585c91bb1961325 SHA1 (patch-ae) = 6a7c39bafa4832e920f2cb1458a94b817f1832e5 diff --git a/math/xfractint/patches/patch-ab b/math/xfractint/patches/patch-ab index 91b68e938e6..1758d3984a2 100644 --- a/math/xfractint/patches/patch-ab +++ b/math/xfractint/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.3 2007/04/16 14:48:31 joerg Exp $ +$NetBSD: patch-ab,v 1.4 2009/12/11 17:47:28 asau Exp $ ---- Makefile.orig 2007-04-16 14:22:01.000000000 +0000 -+++ Makefile -@@ -68,7 +68,7 @@ CC = cc +--- Makefile.orig 1999-09-11 20:32:16.000000000 +0400 ++++ Makefile 2009-12-11 20:42:24.000000000 +0300 +@@ -68,7 +68,7 @@ # For Apollo, change -lX11 to -L/usr/X11/libX11 # For Solaris, add -L/usr/openwin/lib # For Linux, use @@ -11,3 +11,20 @@ $NetBSD: patch-ab,v 1.3 2007/04/16 14:48:31 joerg Exp $ #LIBS = -L/usr/X11R6/lib -lX11 -lm -lcurses -ltermcap #LIBS = -lX11 -lm -lcurses -ltermcap +@@ -180,13 +180,9 @@ + rm -f $(OBJS) $(HOBJS) fractint.doc fractint.hlp hc xfractint helpdefs.h + + install: xfractint fractint.hlp +- cp xfractint $(BINDIR)/xfractint +- strip $(BINDIR)/xfractint +- chmod a+x $(BINDIR)/xfractint +- cp fractint.hlp $(PARFILES) $(FRMFILES) $(IFSFILES) $(LFILES) $(MAPFILES) $(SRCDIR) +- (cd $(SRCDIR); chmod a+r fractint.hlp $(PARFILES) $(FRMFILES) $(IFSFILES) $(LFILES) $(MAPFILES) ) +- cp xfractint.man $(MANDIR)/xfractint.1 +- chmod a+r $(MANDIR)/xfractint.1 ++ $(BSD_INSTALL_PROGRAM) xfractint $(DESTDIR)$(BINDIR)/xfractint ++ $(BSD_INSTALL_DATA) fractint.hlp $(PARFILES) $(FRMFILES) $(IFSFILES) $(LFILES) $(MAPFILES) $(DESTDIR)$(SRCDIR) ++ $(BSD_INSTALL_MAN) xfractint.man $(DESTDIR)$(MANDIR)/xfractint.1 + + fractint.hlp: hc $(HELP) + ./hc /c |