mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
44 lines
1017 B
Makefile
44 lines
1017 B
Makefile
# New ports collection makefile for: exult
|
|
# Date created: 18 February 2002
|
|
# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= exult
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Ultima VII engine
|
|
|
|
BUILD_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
|
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
|
|
|
USE_XLIB= yes
|
|
USE_SDL= sdl mixer
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= expack.1 ipack.1 shp2pcx.1 splitshp.1 textpack.1
|
|
MAN6= exult.6
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|desktop||' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.ifndef (NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in FAQ NEWS README
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|' <${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|