2000-08-23 15:45:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2000/08/23 13:45:02 dmcmahill Exp $
|
1998-08-24 18:55:35 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.6 1998/02/11 08:48:26 tg Exp
|
|
|
|
|
|
|
|
DISTNAME= urt
|
|
|
|
PKGNAME= urt-3.1b1
|
|
|
|
CATEGORIES= graphics
|
2000-05-21 03:39:30 +02:00
|
|
|
MASTER_SITES= ftp://ftp.cs.utah.edu/pub/dept/OLD/pub
|
1998-08-24 18:55:35 +02:00
|
|
|
DISTFILES= urt-3.1b.tar.Z urt-doc.tar urt-img.tar
|
|
|
|
|
1998-11-13 02:12:57 +01:00
|
|
|
PATCH_SITES= ftp://ptolemy.berkeley.edu/pub/misc/urt/
|
|
|
|
PATCHFILES= urt-3.1b-3.1b1.patch
|
|
|
|
PATCH_DIST_STRIP=-p1
|
|
|
|
|
1998-08-24 18:55:35 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
|
2000-08-23 15:45:02 +02:00
|
|
|
#DEPENDS+= tiff-*:../tiff # netpbm will pull in tiff.
|
2000-05-17 20:54:00 +02:00
|
|
|
DEPENDS+= netpbm-9.*:../netpbm
|
1998-08-24 18:55:35 +02:00
|
|
|
|
|
|
|
EXTRACT_ONLY= urt-3.1b.tar.Z
|
|
|
|
|
1999-04-26 20:38:28 +02:00
|
|
|
USE_X11= yes
|
1998-08-24 18:55:35 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2000-03-27 10:54:53 +02:00
|
|
|
CONFIGURE_SCRIPT=./Configure
|
1998-08-24 18:55:35 +02:00
|
|
|
CONFIGURE_ARGS= config/urt
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET=
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
|
1999-04-05 19:23:01 +02:00
|
|
|
cd ${PREFIX}/share/doc/urt && (\
|
|
|
|
${GTAR} xf ${DISTDIR}/urt-doc.tar; \
|
|
|
|
cd doc; \
|
2000-01-02 04:36:52 +01:00
|
|
|
${FIND} -d . | cpio -dump ..; \
|
1999-04-05 19:23:01 +02:00
|
|
|
cd ..; \
|
|
|
|
${RM} -rf doc)
|
|
|
|
cd ${PREFIX}/share/examples/urt && (\
|
|
|
|
${GTAR} xf ${DISTDIR}/urt-img.tar; \
|
2000-01-02 04:36:52 +01:00
|
|
|
${CHOWN} -R root:wheel . ; \
|
|
|
|
${FIND} . -type d -exec ${CHMOD} 775 '{}' \; ; \
|
|
|
|
${FIND} . -type f -exec ${CHMOD} 664 '{}' \;)
|
1998-08-24 18:55:35 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|