2002-06-27 17:51:38 +02:00
|
|
|
# New ports collection makefile for: exult
|
|
|
|
# Date created: 18 February 2002
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-10-18 20:05:36 +02:00
|
|
|
PORTNAME= exult
|
2004-06-13 01:20:52 +02:00
|
|
|
PORTVERSION= 1.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2003-10-18 20:05:36 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-06-27 17:51:38 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-07-22 06:28:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Ultima VII engine
|
2002-06-27 17:51:38 +02:00
|
|
|
|
2004-06-13 01:20:52 +02:00
|
|
|
BUILD_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
2002-06-27 17:51:38 +02:00
|
|
|
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
|
|
|
|
|
|
|
USE_XLIB= yes
|
2004-03-31 21:40:28 +02:00
|
|
|
USE_SDL= sdl mixer
|
2002-06-27 17:51:38 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-06-27 17:51:38 +02:00
|
|
|
|
2004-03-31 21:40:28 +02:00
|
|
|
MAN1= expack.1 ipack.1 shp2pcx.1 splitshp.1 textpack.1
|
|
|
|
MAN6= exult.6
|
2002-06-27 17:51:38 +02:00
|
|
|
|
2007-05-27 05:03:31 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
BROKEN= Broken with gcc 4.2
|
|
|
|
.endif
|
|
|
|
|
2003-10-18 20:05:36 +02:00
|
|
|
post-patch:
|
2004-03-31 21:40:28 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|desktop||' ${WRKSRC}/Makefile.in
|
2006-12-01 00:27:47 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
|
2004-03-31 21:40:28 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef (NOPORTDOCS)
|
2002-06-27 17:51:38 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-03-31 21:40:28 +02:00
|
|
|
.for i in FAQ NEWS README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
2003-10-18 20:05:36 +02:00
|
|
|
.endfor
|
2002-06-27 17:51:38 +02:00
|
|
|
.endif
|
2004-03-31 21:40:28 +02:00
|
|
|
@${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|' <${PKGMESSAGE}
|
2002-06-27 17:51:38 +02:00
|
|
|
|
2007-05-27 05:03:31 +02:00
|
|
|
.include <bsd.port.post.mk>
|