diff options
author | asau <asau> | 2009-12-10 23:42:14 +0000 |
---|---|---|
committer | asau <asau> | 2009-12-10 23:42:14 +0000 |
commit | 5094d45b0fe8f2623b1cd47c72a954240bf69106 (patch) | |
tree | e64b92652a3b35ee8de8b165e9f625c002a46e7a /lang | |
parent | ccf7e9d76d55a06683be86bd2a08528f49d01fd1 (diff) | |
download | pkgsrc-5094d45b0fe8f2623b1cd47c72a954240bf69106.tar.gz |
Support staged installation.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ucblogo/Makefile | 12 | ||||
-rw-r--r-- | lang/ucblogo/distinfo | 4 | ||||
-rw-r--r-- | lang/ucblogo/patches/patch-aa | 27 |
3 files changed, 25 insertions, 18 deletions
diff --git a/lang/ucblogo/Makefile b/lang/ucblogo/Makefile index 583851c9d49..54bdc0b4a5f 100644 --- a/lang/ucblogo/Makefile +++ b/lang/ucblogo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/02/19 19:51:17 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2009/12/10 23:42:14 asau Exp $ DISTNAME= ucblogo-5.3 PKGREVISION= 2 @@ -11,16 +11,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://http.cs.berkeley.edu/~bh/logo.html COMMENT= Brian Harvey's logo language interpreter +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= makefile GNU_CONFIGURE= yes # otherwise ./configure guesses -L incorrectly LIBS+= -L${X11BASE}/lib post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo - ${INSTALL_DATA} ${WRKSRC}/usermanual ${PREFIX}/share/doc/ucblogo/usermanual.txt - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo/html - ${CP} ${WRKSRC}/emacs/docs/*.html ${PREFIX}/share/doc/ucblogo/html/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo + ${INSTALL_DATA} ${WRKSRC}/usermanual ${DESTDIR}${PREFIX}/share/doc/ucblogo/usermanual.txt + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo/html + ${CP} ${WRKSRC}/emacs/docs/*.html ${DESTDIR}${PREFIX}/share/doc/ucblogo/html/ BUILDLINK_DEPMETHOD.libXt?= build diff --git a/lang/ucblogo/distinfo b/lang/ucblogo/distinfo index 9738232946a..1a369944fb9 100644 --- a/lang/ucblogo/distinfo +++ b/lang/ucblogo/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2005/02/24 09:03:12 agc Exp $ +$NetBSD: distinfo,v 1.6 2009/12/10 23:42:14 asau Exp $ SHA1 (ucblogo-5.3.tar.gz) = abe27b2a36cc5d8dc4208fba04569e82cc163719 RMD160 (ucblogo-5.3.tar.gz) = 9dfaf9886335ff7624e72cd23d0fd28a80e679c3 Size (ucblogo-5.3.tar.gz) = 1180188 bytes -SHA1 (patch-aa) = 5392d5d0430830f40f468449f57905ec69151b33 +SHA1 (patch-aa) = 7e3ab4e800f726dea6e6a46eb22ee6b7b8b03509 diff --git a/lang/ucblogo/patches/patch-aa b/lang/ucblogo/patches/patch-aa index cedf833a48c..31281b65d20 100644 --- a/lang/ucblogo/patches/patch-aa +++ b/lang/ucblogo/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2004/07/23 00:31:23 reed Exp $ +$NetBSD: patch-aa,v 1.4 2009/12/10 23:42:14 asau Exp $ ---- makefile.in.orig Wed Sep 11 15:02:00 2002 -+++ makefile.in -@@ -3,8 +3,9 @@ CFLAGS = @CFLAGS@ @CPPFLAGS@ @X_CFLAGS@ +--- makefile.in.orig 2002-09-12 02:02:00.000000000 +0400 ++++ makefile.in 2009-12-11 02:37:33.000000000 +0300 +@@ -3,8 +3,9 @@ LDFLAGS = @LDFLAGS@ LIBS = @X_PRE_LIBS@ @X_LIBS@ @LIBS@ @X_EXTRA_LIBS@ prefix = @prefix@ @@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.3 2004/07/23 00:31:23 reed Exp $ # LIBLOC = `pwd` -@@ -18,7 +19,7 @@ SRCS = coms.c error.c eval.c files.c gra +@@ -18,7 +19,7 @@ HDRS = globals.h logo.h xgraphics.h @@ -22,7 +22,7 @@ $NetBSD: patch-aa,v 1.3 2004/07/23 00:31:23 reed Exp $ mem.o: mem.c $(CC) $(CFLAGS) -O0 -c mem.c -@@ -54,12 +55,12 @@ makehelp: makehelp.c +@@ -54,25 +55,25 @@ clean: rm -f *.o libloc.c @@ -36,13 +36,18 @@ $NetBSD: patch-aa,v 1.3 2004/07/23 00:31:23 reed Exp $ + cd emacs; $(MAKE) ship install: all - for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done -@@ -67,12 +68,12 @@ install: all - cp -f logolib/* $(LIBLOC)/logolib/. - cp -f helpfiles/* $(LIBLOC)/helpfiles/. - cp -f csls/* $(LIBLOC)/csls/. +- for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done +- cp logo $(BINDIR)/. +- cp -f logolib/* $(LIBLOC)/logolib/. +- cp -f helpfiles/* $(LIBLOC)/helpfiles/. +- cp -f csls/* $(LIBLOC)/csls/. - (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) gmake install) -# prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; gmake install ++ for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $(DESTDIR)$$d ] || mkdir -p $(DESTDIR)$$d || exit 1; done ++ cp logo $(DESTDIR)$(BINDIR)/. ++ cp -f logolib/* $(DESTDIR)$(LIBLOC)/logolib/. ++ cp -f helpfiles/* $(DESTDIR)$(LIBLOC)/helpfiles/. ++ cp -f csls/* $(DESTDIR)$(LIBLOC)/csls/. +# (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install) +# prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE) install |