aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/urt/Makefile
blob: d428effded3ab02ba86c4fca9a10d5fe62d5423a (plain) (blame)
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
# New ports collection makefile for:    urt
# Version required: 3.1b
# Date created:     Jan 5 1997
# Whom:         cfs@ing.puc.cl (original)
#
# $Id: Makefile,v 1.1.1.1 1997/06/03 23:41:07 asami Exp $
#

DISTNAME=   urt
PKGNAME=    urt-3.1b
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.cs.utah.edu/pub/
DISTFILES=  urt-3.1b.tar.Z urt-doc.tar urt-img.tar

MAINTAINER= Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co>

LIB_DEPENDS=    tiff\\.3\\.:${PORTSDIR}/graphics/tiff
BUILD_DEPENDS=  ${X11BASE}/lib/libpbm.a:${PORTSDIR}/graphics/netpbm

NO_WRKSUBDIR=   yes
EXTRACT_ONLY=   urt-3.1b.tar.Z

post-install:
        ${MKDIR} ${PREFIX}/share/doc/urt
        cd ${PREFIX}/share/doc/urt; \
          tar xf $(DISTDIR)/urt-doc.tar; \
          cd doc; \
          find -d . | cpio -dump ..; \
          cd ..; \
          rm -rf doc; \
          tar xf $(DISTDIR)/urt-img.tar; \
          chown -R root:wheel . ; \
          find . -type d -exec chmod 775 '{}' \; ; \
          find . -type f -exec chmod 664 '{}' \;

.include <bsd.port.mk>