diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-03 22:58:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-03 22:58:38 +0000 |
commit | efba68ad23afca4433efd555aee87c602f0d555e (patch) | |
tree | 08b492325c68d19875956cdf1af9a3c837497c61 | |
parent | 0c6b572929c3140cd4f0a5907611128597c337c3 (diff) | |
download | pkgsrc-efba68ad23afca4433efd555aee87c602f0d555e.tar.gz |
DESTDIR support
-rw-r--r-- | graphics/gtksee/Makefile | 15 | ||||
-rw-r--r-- | graphics/gtksee/distinfo | 3 | ||||
-rw-r--r-- | graphics/gtksee/patches/patch-aa | 25 | ||||
-rw-r--r-- | graphics/hp2xx/Makefile | 14 | ||||
-rw-r--r-- | graphics/impress/Makefile | 7 |
5 files changed, 52 insertions, 12 deletions
diff --git a/graphics/gtksee/Makefile b/graphics/gtksee/Makefile index 59aaf92e642..32d6b1e2adc 100644 --- a/graphics/gtksee/Makefile +++ b/graphics/gtksee/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2010/01/18 09:59:02 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/02/03 23:03:26 joerg Exp $ # DISTNAME= gtksee-0.5.6 @@ -10,16 +10,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://developer.berlios.de/projects/gtksee/ COMMENT= Gtk-based image viewing and cataloging program +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= gmake msgfmt USE_PKGLOCALEDIR= YES +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 share/doc/gtksee + post-install: - ${INSTALL_MAN} ${WRKSRC}/man/gtksee.1 ${PREFIX}/${PKGMANDIR}/man1/gtksee.1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtksee - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gtksee - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/gtksee - ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/gtksee + ${INSTALL_MAN} ${WRKSRC}/man/gtksee.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtksee.1 + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gtksee + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/gtksee + ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/gtksee .include "../../x11/gtk/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" diff --git a/graphics/gtksee/distinfo b/graphics/gtksee/distinfo index 3587952d0f2..b2c8f53fcaf 100644 --- a/graphics/gtksee/distinfo +++ b/graphics/gtksee/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 08:45:07 agc Exp $ +$NetBSD: distinfo,v 1.4 2010/02/03 23:03:26 joerg Exp $ SHA1 (gtksee-0.5.6.tar.gz) = 7e1050d26b8fea0403e2e9124956478828e58e0f RMD160 (gtksee-0.5.6.tar.gz) = 0df689de66212445bfdcdfaa9dbb65792e1c3efd Size (gtksee-0.5.6.tar.gz) = 322313 bytes +SHA1 (patch-aa) = 0fd5b2367f5ee00d2a8a6b3d9c02725e5761f564 diff --git a/graphics/gtksee/patches/patch-aa b/graphics/gtksee/patches/patch-aa new file mode 100644 index 00000000000..38980fe2314 --- /dev/null +++ b/graphics/gtksee/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.3 2010/02/03 23:03:26 joerg Exp $ + +--- po/Makefile.in.in.orig 2010-02-03 23:01:02.000000000 +0000 ++++ po/Makefile.in.in +@@ -111,16 +111,16 @@ install-data: install-data-@USE_NLS@ + install-data-no: all + install-data-yes: all + if test -r "$(MKINSTALLDIRS)"; then \ +- $(MKINSTALLDIRS) $(datadir); \ ++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \ + else \ +- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + case "$$cat" in \ +- *.gmo) destdir=$(gnulocaledir);; \ +- *) destdir=$(localedir);; \ ++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \ ++ *) destdir=${DESTDIR}$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + dir=$$destdir/$$lang/LC_MESSAGES; \ diff --git a/graphics/hp2xx/Makefile b/graphics/hp2xx/Makefile index 08f66448618..bc12910c10a 100644 --- a/graphics/hp2xx/Makefile +++ b/graphics/hp2xx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2010/01/18 09:59:02 wiz Exp $ +# $NetBSD: Makefile,v 1.38 2010/02/03 22:59:13 joerg Exp $ # DISTNAME= hp2xx-3.4.4 @@ -10,14 +10,20 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.gnu.org/software/hp2xx/hp2xx.html COMMENT= HPGL converter and previewer +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DIRS= sources USE_TOOLS+= makeinfo -MAKE_FLAGS= prefix=${PREFIX:Q} \ - mandir=${PREFIX:Q}/${PKGMANDIR:Q} \ - infodir=${PREFIX:Q}/${PKGINFODIR:Q} +MAKE_FLAGS= prefix=${PREFIX} \ + mandir=${PREFIX}/${PKGMANDIR} \ + infodir=${PREFIX}/${PKGINFODIR} MAKE_ENV+= XLDFLAGS=${LDFLAGS:Q} XCPPFLAGS=${CPPFLAGS:Q} INFO_FILES= # PLIST +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \ + infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} + INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 post-extract: diff --git a/graphics/impress/Makefile b/graphics/impress/Makefile index 075b9b76380..7fd9c29e281 100644 --- a/graphics/impress/Makefile +++ b/graphics/impress/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/03/22 04:53:39 manu Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/03 22:58:38 joerg Exp $ # DISTNAME= imp1.1b9 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org # AWOL, but ccox@ is listed as board member of ntlug.org COMMENT= WYSIWYG vector graphics application +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= pstoedit>=3.19:../../graphics/pstoedit DEPENDS+= tcl>=8.3.2nb2:../../lang/tcl DEPENDS+= tk>=8.3.2nb1:../../x11/tk @@ -20,6 +22,9 @@ WRKSRC= ${WRKDIR}/impress-1.1b9 USE_LANGUAGES= c++ +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} +INSTALLATION_DIRS+= bin + do-build: cd ${WRKSRC} && make make_impress make_font3d |