summaryrefslogtreecommitdiff
path: root/graphics/urt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/urt/Makefile')
-rw-r--r--graphics/urt/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
new file mode 100644
index 00000000000..b263549e7bc
--- /dev/null
+++ b/graphics/urt/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 1998/08/24 16:55:35 agc Exp $
+# FreeBSD Id: Makefile,v 1.6 1998/02/11 08:48:26 tg Exp
+#
+
+DISTNAME= urt
+PKGNAME= urt-3.1b1
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.cs.utah.edu/pub/
+DISTFILES= urt-3.1b.tar.Z urt-doc.tar urt-img.tar
+
+MAINTAINER= packages@netbsd.org
+
+DEPENDS+= tiff-3.4:../../graphics/tiff
+BUILD_DEPENDS+= ../../graphics/netpbm/${WRKDIR:T}/netpbm:../../graphics/netpbm:build
+
+EXTRACT_ONLY= urt-3.1b.tar.Z
+PATCH_SITES= ftp://ptolemy.berkeley.edu/pub/misc/urt/
+PATCHFILES= urt-3.1b-3.1b1.patch
+PATCH_DIST_STRIP=-p1
+
+NO_WRKSUBDIR= yes
+CONFIGURE_SCRIPT=Configure
+CONFIGURE_ARGS= config/urt
+HAS_CONFIGURE= yes
+MAKEFILE= makefile
+MAKE_ENV+= PKGSRCDIR=${.CURDIR}/../.. WORKINGDIRNAME=${WRKDIR:T}
+ALL_TARGET=
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
+ cd ${PREFIX}/share/doc/urt; \
+ ${EXTRACT_CMD} xf $(DISTDIR)/urt-doc.tar; \
+ cd doc; \
+ find -d . | cpio -dump ..; \
+ cd ..; \
+ ${RM} -rf doc; \
+ cd ${PREFIX}/share/examples/urt; \
+ ${EXTRACT_CMD} xf $(DISTDIR)/urt-img.tar; \
+ chown -R root:wheel . ; \
+ find . -type d -exec chmod 775 '{}' \; ; \
+ find . -type f -exec chmod 664 '{}' \;
+
+.include "../../mk/bsd.pkg.mk"