2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.65 2020/01/26 17:31:24 rillig Exp $
|
1998-08-24 18:55:35 +02:00
|
|
|
|
|
|
|
DISTNAME= urt
|
|
|
|
PKGNAME= urt-3.1b1
|
2014-09-08 23:24:44 +02:00
|
|
|
PKGREVISION= 17
|
1998-08-24 18:55:35 +02:00
|
|
|
CATEGORIES= graphics
|
2007-05-28 22:14:00 +02:00
|
|
|
MASTER_SITES= ftp://ftp.iastate.edu/pub/utah-raster/
|
|
|
|
DISTFILES= urt-3.1b.tar.Z urt-doc.tar.Z urt-img.tar.Z
|
1998-08-24 18:55:35 +02:00
|
|
|
|
2019-11-02 23:37:52 +01:00
|
|
|
PATCH_SITES= http://www.funet.fi/pub/graphics/packages/urt/rel2/
|
|
|
|
PATCHFILES= urt-3.1b-3.1b1.patch
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1998-11-13 02:12:57 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.cs.utah.edu/gdc/projects/urt/
|
2003-06-07 16:47:16 +02:00
|
|
|
COMMENT= Toolkit and library for raster image processing
|
1998-08-24 18:55:35 +02:00
|
|
|
|
|
|
|
EXTRACT_ONLY= urt-3.1b.tar.Z
|
|
|
|
|
2019-11-02 23:37:52 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
CONFIGURE_SCRIPT= ./Configure
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= config/urt
|
2019-11-02 23:37:52 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
MAKE_FILE= makefile
|
|
|
|
BUILD_TARGET= # the default one
|
2007-05-24 06:46:52 +02:00
|
|
|
|
2008-02-28 12:58:47 +01:00
|
|
|
AUTO_MKDIRS= yes
|
1998-08-24 18:55:35 +02:00
|
|
|
|
2001-11-24 09:55:20 +01:00
|
|
|
post-extract:
|
2007-05-24 06:46:52 +02:00
|
|
|
chmod 644 ${WRKSRC}/man/man1/rletotarga.1
|
2001-11-24 09:55:20 +01:00
|
|
|
|
2019-11-02 23:37:52 +01:00
|
|
|
SUBST_CLASSES+= man
|
2007-03-11 23:25:55 +01:00
|
|
|
SUBST_STAGE.man= pre-configure
|
|
|
|
SUBST_FILES.man= config/urt
|
2007-05-24 06:46:52 +02:00
|
|
|
SUBST_SED.man= -e 's,^\(\#defpath MAN_DEST\).*,\1 ${PREFIX}/${PKGMANDIR},'
|
2007-03-11 23:25:55 +01:00
|
|
|
|
1998-08-24 18:55:35 +02:00
|
|
|
post-install:
|
2018-01-14 15:58:38 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/share/doc/urt && \
|
2007-05-28 22:14:00 +02:00
|
|
|
pax -z -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar.Z
|
2018-01-14 15:58:38 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/share/examples/urt && \
|
2007-05-28 22:14:00 +02:00
|
|
|
pax -z -r -p m -f ${DISTDIR}/urt-img.tar.Z
|
2018-01-14 15:58:38 +01:00
|
|
|
cd ${DESTDIR}${PREFIX} && \
|
2007-05-24 06:46:52 +02:00
|
|
|
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
|
1998-08-24 18:55:35 +02:00
|
|
|
|
2004-04-25 00:09:22 +02:00
|
|
|
.include "../../graphics/netpbm/buildlink3.mk"
|
2007-08-18 00:33:35 +02:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
1998-08-24 18:55:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|