freebsd-ports/games/noegnud-nethack-deet/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- 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
2012-02-18 10:18:33 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: noegnud-nethack-deet
# Date created: 7 April 2004
# Whom: Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= noegnud
PORTVERSION= 0.8.3
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://www.darkarts.co.za/projects/noegnud/downloads/${PORTVERSION}/:noegnud \
SF/nethack/nethack/3.4.2:nethack
PKGNAMESUFFIX= -nethack-deet
DISTFILES= ${DISTNAME}_linux_src-minimal${EXTRACT_SUFX}:noegnud \
nethack-342.tgz:nethack
EXTRACT_ONLY= ${DISTNAME}_linux_src-minimal${EXTRACT_SUFX}
MAINTAINER= llwang@infor.org
COMMENT= The noeGNUd UI for Nethack with DeeT's hack font patch
RUN_DEPENDS= ${LOCALBASE}/share/${NOEGNUDVERSION}/data/gui:${PORTSDIR}/games/noegnud-data
NOEGNUDVERSION= ${PORTNAME}-0.8.0
USE_BISON= build
USE_GL= yes
WANT_SDL= yes
USE_SDL= sdl image mixer
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/variants
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
ALL_TARGET= nh342-dt
INSTALL_TARGET= install_nh342-dt
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
pre-everything::
.if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support."
@${ECHO_MSG} "If your SDL does not support OpenGL, hit ^C now and reinstall SDL"
@${ECHO_MSG} "with OpenGL support turned on."
.endif
post-extract:
@${CP} ${DISTDIR}/nethack-342.tgz ${WRKSRC}/tarballs
(cd ${WRKSRC} && ${MAKE} nethack-3.4.2-deet)
post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack-deet.patch)
do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet/Makefile)
.include <bsd.port.post.mk>