diff options
author | heinz <heinz> | 2007-05-28 20:14:00 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-05-28 20:14:00 +0000 |
commit | 61e5613d0321e1480ec381ab656c77db7e6a747b (patch) | |
tree | c716ec94ae33e6a06440995689690a3b796e3cf0 /graphics/urt/Makefile | |
parent | 433d7b185335ccebe5b2d57d06c239f8ff802a53 (diff) | |
download | pkgsrc-61e5613d0321e1480ec381ab656c77db7e6a747b.tar.gz |
- Updated outdated download URLs (taken from FreeBSD's Makefile).
- Added HOMEPAGE.
- Libraries should be installed with BSD_INSTALL_LIB, not BSD_INSTALL_DATA
(see patch-ak).
- Added support for installation to DESTDIR (Makefile, patch-ac, patch-ak,
patch-am, patch-az).
Diffstat (limited to 'graphics/urt/Makefile')
-rw-r--r-- | graphics/urt/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index 939c6898687..e4f0c69f4b9 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -1,21 +1,24 @@ -# $NetBSD: Makefile,v 1.47 2007/05/24 04:46:52 rillig Exp $ +# $NetBSD: Makefile,v 1.48 2007/05/28 20:14:00 heinz Exp $ DISTNAME= urt PKGNAME= urt-3.1b1 PKGREVISION= 8 CATEGORIES= graphics -MASTER_SITES= ftp://ftp.cs.utah.edu/pub/dept/OLD/pub/ -DISTFILES= urt-3.1b.tar.Z urt-doc.tar urt-img.tar +MASTER_SITES= ftp://ftp.iastate.edu/pub/utah-raster/ +DISTFILES= urt-3.1b.tar.Z urt-doc.tar.Z urt-img.tar.Z -PATCH_SITES= ftp://ptolemy.berkeley.edu/pub/misc/urt/ +PATCH_SITES= http://www.funet.fi/pub/graphics/packages/urt/rel2/ PATCHFILES= urt-3.1b-3.1b1.patch PATCH_DIST_STRIP=-p1 MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.cs.utah.edu/gdc/projects/urt/ COMMENT= Toolkit and library for raster image processing EXTRACT_ONLY= urt-3.1b.tar.Z +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LIBTOOL= yes CONFIGURE_SCRIPT=./Configure @@ -35,11 +38,11 @@ SUBST_FILES.man= config/urt SUBST_SED.man= -e 's,^\(\#defpath MAN_DEST\).*,\1 ${PREFIX}/${PKGMANDIR},' post-install: - cd ${PREFIX}/share/doc/urt && \ - pax -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar - cd ${PREFIX}/share/examples/urt && \ - pax -r -p m -f ${DISTDIR}/urt-img.tar - cd ${PREFIX} && \ + cd ${DESTDIR:Q}${PREFIX:Q}/share/doc/urt && \ + pax -z -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar.Z + cd ${DESTDIR:Q}${PREFIX:Q}/share/examples/urt && \ + pax -z -r -p m -f ${DISTDIR}/urt-img.tar.Z + cd ${DESTDIR:Q}${PREFIX:Q} && \ chown -R ${ROOT_USER}:${ROOT_GROUP} share/doc/urt share/examples/urt && \ find share/doc/urt share/examples/urt -type d -print | xargs chmod 755 && \ find share/doc/urt share/examples/urt -type f -print | xargs chmod 444 |