aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dore/Makefile
blob: f688046ac39dfde1b5aa861b8128cf6376ef26b0 (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
37
38
39
40
41
42
# New ports collection makefile for:    dore
# Date created:     10 February 1995
# Whom:         jkh
#
# $FreeBSD$
#

PORTNAME=   pdore
PORTVERSION=    6.0
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Dynamic Object Rendering Environment

USE_GMAKE=  yes
USE_X_PREFIX=   yes
WRKSRC=     ${WRKDIR}/dore
EXTRACT_CMD=    ${MKDIR} ${WRKSRC}; cd ${WRKSRC}; ${GZIP_CMD}
MAKEFILE=   mk.stdx
MAKE_ENV=   DORE_LOC=${WRKDIR}
NOPRECIOUSMAKEVARS= yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     "Does not compile on sparc64"
.endif

post-extract:
    @${MKDIR} ${WRKSRC}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/subsys/*.c

pre-install:
    @${MKDIR} ${PREFIX}/share/dore

.include <bsd.port.post.mk>