summaryrefslogtreecommitdiffstats
path: root/graphics/urt/Makefile
blob: 20141716ae67f884ca03acf16ac59fc923477397 (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
50
# Created by: cfs@ing.puc.cl (original)
# $FreeBSD$

PORTNAME=	urt
PORTVERSION=	3.1b1
PORTREVISION=	10
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.iastate.edu/pub/utah-raster/
DISTNAME=	urt
DISTFILES=	urt-3.1b.tar.Z urt-doc.tar.Z urt-img.tar.Z

PATCH_SITES=	http://www.funet.fi/pub/graphics/packages/urt/rel2/
PATCHFILES=	urt-3.1b-3.1b1.patch
PATCH_DIST_STRIP=-p1

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Toolkit and library for raster image processing

LIB_DEPENDS=	libnetpbm.so:graphics/netpbm

BROKEN=		unfetchable
DEPRECATED=	mastersite disappeared, last release 1996
EXPIRATION_DATE=	2016-12-31

OPTIONS_DEFINE=	DOCS EXAMPLES

NO_WRKSUBDIR=	yes

USE_XORG=	x11 xext
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=Configure
CONFIGURE_ARGS=	config/urt
USES=		gmake
MAKEFILE=	makefile
MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
ALL_TARGET=	# none
USE_LDCONFIG=	yes

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud