mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# Ports collection makefile for: falconseye
|
|
# Date created: 23 Aug 2001
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= falconseye
|
|
PORTVERSION= 1.9.3
|
|
PORTREVISION= 8
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/NetHack-Falcon_s%20Eye%20%28source%29/${PORTVERSION}
|
|
DISTNAME= nethack_source_331_jtp_${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= NetHack derivative
|
|
|
|
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
|
|
|
NHDIR= "${PREFIX}/share/falconseyedir"
|
|
MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}"
|
|
NETHACKCONFIG= ${FILESDIR}/x-config
|
|
USE_SDL= sdl
|
|
USE_PERL5_BUILD=yes
|
|
USE_ZIP= yes
|
|
USE_XORG= x11 xpm xaw
|
|
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I${LOCALBASE}/include/SDL11
|
|
WRKSRC= ${WRKDIR}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s@<malloc.h>@<stdlib.h>@g" \
|
|
${WRKSRC}/include/jtp_gen.h ${WRKSRC}/win/jtp/jtp_dirx.c \
|
|
${WRKSRC}/win/jtp/jtp_keys.c ${WRKSRC}/win/jtp/jtp_sdl.c \
|
|
${WRKSRC}/win/Qt/qt_win.cpp
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}/sys/unix && ${SH} setup.sh symlinks
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}/util && ${LN} -f recover frecover
|
|
@cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute <nethack.6 >falconseye.6
|
|
@cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute <recover.6 >frecover.6
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/util/recover ${PREFIX}/bin/frecover
|
|
@cd ${WRKSRC}/doc && \
|
|
${INSTALL_MAN} recover.6 ${PREFIX}/man/man6/frecover.6
|
|
@cd ${WRKSRC}/doc && \
|
|
${INSTALL_MAN} nethack.6 ${PREFIX}/man/man6/falconseye.6
|
|
|
|
.include <bsd.port.mk>
|