mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7e52725f2a
Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
38 lines
878 B
Makefile
38 lines
878 B
Makefile
# New ports collection makefile for: tome
|
|
# Date created: 04 Nov 2002
|
|
# Whom: kris@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tome
|
|
PORTVERSION= 2.1.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://t-o-m-e.net/dl/src/
|
|
DISTNAME= tome-212-src
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= kris@FreeBSD.org
|
|
COMMENT= Roguelike dungeon exploration game based on JRR Tolkien's works
|
|
|
|
ALL_TARGET= # empty
|
|
MAKEFILE= makefile.std
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
.if exists(${X11BASE}/lib/libX11.a) && !defined(WITHOUT_X11)
|
|
USE_XLIB= yes
|
|
.endif
|
|
|
|
post-patch:
|
|
.if !defined(USE_XLIB)
|
|
${REINPLACE_CMD} -e 's/-DUSE_X11//g' ${WRKSRC}/${MAKEFILE}
|
|
${REINPLACE_CMD} -e 's/-lX11//g' ${WRKSRC}/${MAKEFILE}
|
|
${REINPLACE_CMD} -e 's@-L$$(X11BASE)/lib@@g' ${WRKSRC}/${MAKEFILE}
|
|
${REINPLACE_CMD} -e 's@-I$$(X11BASE)/include@@g' ${WRKSRC}/${MAKEFILE}
|
|
.endif
|
|
|
|
|
|
.include <bsd.port.mk>
|