blob: 81f714ed94f609b7d9363cacd2f04070dd4a5c98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.8 1999/11/12 10:41:22 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
PATCH_SITES= ftp://ptolemy.berkeley.edu/pub/misc/urt/
PATCHFILES= urt-3.1b-3.1b1.patch
PATCH_DIST_STRIP=-p1
MAINTAINER= packages@netbsd.org
DEPENDS+= tiff-*:../../graphics/tiff
BUILD_DEPENDS+= ${BUILD_ROOT}/graphics/netpbm/${WRKDIR:T}/netpbm:../../graphics/netpbm:build
EXTRACT_ONLY= urt-3.1b.tar.Z
USE_X11= yes
NO_WRKSUBDIR= yes
CONFIGURE_SCRIPT=Configure
CONFIGURE_ARGS= config/urt
HAS_CONFIGURE= yes
MAKEFILE= makefile
MAKE_ENV+= PKGSRCDIR=${BUILD_ROOT} WORKINGDIRNAME=${WRKDIR:T}
ALL_TARGET=
PATCH_FUZZ_FACTOR= -F2
post-install:
${MKDIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
cd ${PREFIX}/share/doc/urt && (\
${GTAR} xf ${DISTDIR}/urt-doc.tar; \
cd doc; \
find -d . | cpio -dump ..; \
cd ..; \
${RM} -rf doc)
cd ${PREFIX}/share/examples/urt && (\
${GTAR} 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"
|