mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
0b2d663086
Approved by: portmgr (self)
47 lines
905 B
Makefile
47 lines
905 B
Makefile
# 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_REINPLACE= yes
|
|
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}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
BROKEN= "Does not build on FreeBSD >= 5.x"
|
|
.endif
|
|
|
|
.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>
|