blob: 939c68986870bfdfebdf873d1492f0e0c49ae62d (
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
48
49
|
# $NetBSD: Makefile,v 1.47 2007/05/24 04:46:52 rillig 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
PATCH_SITES= ftp://ptolemy.berkeley.edu/pub/misc/urt/
PATCHFILES= urt-3.1b-3.1b1.patch
PATCH_DIST_STRIP=-p1
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Toolkit and library for raster image processing
EXTRACT_ONLY= urt-3.1b.tar.Z
WRKSRC= ${WRKDIR}
USE_LIBTOOL= yes
CONFIGURE_SCRIPT=./Configure
CONFIGURE_ARGS+= config/urt
HAS_CONFIGURE= yes
MAKE_FILE= makefile
BUILD_TARGET= # the default one
INSTALLATION_DIRS_FROM_PLIST= yes
post-extract:
chmod 644 ${WRKSRC}/man/man1/rletotarga.1
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
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} && \
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
.include "../../graphics/netpbm/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|