60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= falconseye
|
|
PORTVERSION= 1.9.3
|
|
PORTREVISION= 10
|
|
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
|
|
|
|
USES= perl5 zip
|
|
NHDIR= "${PREFIX}/share/falconseyedir"
|
|
MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}"
|
|
NETHACKCONFIG= ${FILESDIR}/x-config
|
|
USE_SDL= sdl
|
|
USE_PERL5= build
|
|
USE_XORG= x11 xpm xaw
|
|
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I${LOCALBASE}/include/SDL11 \
|
|
-Wno-return-type
|
|
NO_WRKSUBDIR= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e "s|<malloc.h>|<stdlib.h>|" \
|
|
${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 ${STAGEDIR}${PREFIX}/bin/frecover
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} recover.6 \
|
|
${STAGEDIR}${PREFIX}/man/man6/frecover.6
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} nethack.6 \
|
|
${STAGEDIR}${PREFIX}/man/man6/falconseye.6
|
|
|
|
.include <bsd.port.mk>
|