aboutsummaryrefslogtreecommitdiffstats
path: root/games/noegnud-littlehack/Makefile
blob: 6bbf55a2d24e80fdcdc212ef0162a1bf659d1930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection makefile for:    noegnud-littlehack
# Date created:             7 April 2004
# Whom:                 Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#

PORTNAME=   noegnud
PORTVERSION=    0.8.3
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:S/$/:noegnud,nethack/}
MASTER_SITE_SUBDIR= ${PORTNAME}/:noegnud    \
            nethack/:nethack
PKGNAMESUFFIX=  -littlehack
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 the the LittleHack variation of Nethack

RUN_DEPENDS=    ${LOCALBASE}/share/${NOEGNUDVERSION}/data/gui:${PORTSDIR}/games/noegnud-data

NOEGNUDVERSION= ${PORTNAME}-0.8.0
USE_BISON=  yes
USE_GL=     yes
WANT_SDL=   yes
USE_SDL=    sdl image mixer
WRKSRC=     ${WRKDIR}/${DISTNAME}/variants
PATCH_WRKSRC=   ${WRKDIR}/${DISTNAME}
ALL_TARGET= lh001
INSTALL_TARGET= install_lh001

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 502103
USE_REINPLACE=  yes
.endif

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} littlehack-0.0.1)

post-patch:
    (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1)
    @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-littlehack.patch)
.if ${OSVERSION} < 502103
    @${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/'   \
        ${WRKSRC}/littlehack-0.0.1/src/sounds.c    \
        ${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c  \
        ${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h  \
        ${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
.endif

do-configure:
    (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1/Makefile)

.include <bsd.port.post.mk>
ths 2016-07-04 net/sprinkle: Broken for more than 6 months 2016-07-04 editors/ssam: Broken for more than 6 months 2016-07-04 editors/fb: Broken for more than 6 months 2016-07-04 misc/quotes: Broken for more than 6 months 2016-07-04 misc/boxquote.el: Broken for more than 6 months 2016-07-04 misc/pypanda: Broken for more than 6 months 2016-07-04 misc/cuecat: Broken for more than 6 months 2016-07-04 deskutils/displaycalibrator: Broken for more than 6 months 2016-07-04 german/eric4: Depends on expiring devel/eric4 2016-07-04 multimedia/vic: Depends on expiring devel/uclmmbase 2016-07-04 multimedia/ggrab: Broken for more than 6 months 2016-07-04 emulators/dynamips: Broken for more than 6 months 2016-07-04 emulators/dynamips-devel: Broken for more than 6 months 2016-07-04 emulators/sim6811: Broken for more than 6 months 2016-07-04 emulators/minivmac: Broken for more than 6 months 2016-07-04 cad/qcad-partslib: Broken for more than 6 months 2016-07-04 comms/dump1090_mr: Broken for more than 6 months 2016-07-04 x11-fm/asfiles: Depends on expiring x11/libdnd 2016-07-04 x11-fonts/fonts-te: Broken for more than 6 months 2016-07-04 sysutils/rsyncmanager: Broken for more than 6 months 2016-07-04 sysutils/jfbterm: Broken for more than 6 months 2016-07-04 sysutils/daedalus: Broken for more than 6 months 2016-07-04 sysutils/pcfclock: Broken for more than 6 months 2016-07-04 sysutils/vlogger: Broken for more than 6 months 2016-07-04 sysutils/bontmia: Broken for more than 6 months 2016-07-04 mail/pop3gwd: Broken for more than 6 months 2016-07-04 mail/mailtray: Broken for more than 6 months 2016-07-04 mail/pflogstats: Broken for more than 6 months 2016-07-04 mail/exact: Broken for more than 6 months 2016-07-04 mail/wmpop3: Broken for more than 6 months 2016-07-04 mail/qmail-conf: Broken for more than 6 months 2016-07-04 mail/gld: Broken for more than 6 months 2016-07-04 mail/dsbl-testers: Broken for more than 6 months 2016-07-04 mail/vqregister: Broken for more than 6 months 2016-07-04 mail/atmail: Broken for more than 6 months 2016-07-04 mail/ml: Broken for more than 6 months 2016-07-04 net-im/icb: Broken for more than 6 months 2016-07-04 net-im/cicquin: Broken for more than 6 months 2016-07-04 net-im/pidgin-manualsize: Broken for more than 6 months 2016-07-04 net-im/pidgin-rhythmbox: Broken for more than 6 months 2016-07-04 russian/eric4: Depends on expiring devel/eric4 2016-07-04 russian/fortune-bashorgru: Broken for more than 6 months 2016-07-04 www/xpi-clearfields: Broken for more than 6 months 2016-07-04 www/pecl-varnish: Broken for more than 6 months 2016-07-04 www/py-requests-oauth-hook: Broken for more than 6 months 2016-07-04 www/hudson: Broken for more than 6 months 2016-07-04 www/xpi-mldonkey: Broken for more than 6 months 2016-07-04 www/xpi-cookiesafe: Broken for more than 6 months 2016-07-04 www/trac-mastertickets: Broken for more than 6 months 2016-07-04 www/dotclear: Broken for more than 6 months 2016-07-04 www/ruby-wgettsv: Broken for more than 6 months 2016-07-04 www/wwwstat: Broken for more than 6 months 2016-07-04 www/xpi-prism: Broken for more than 6 months 2016-07-04 www/xpi-fasterfox: Broken for more than 6 months 2016-07-04 www/siteframe: Broken for more than 6 months 2016-07-04 www/py-urljr: Broken for more than 6 months 2016-07-04 www/reviewboard: Broken for more than 6 months 2016-07-04 www/xpi-tabletools: Broken for more than 6 months 2016-07-04 www/wikindx: Broken for more than 6 months 2016-07-04 www/typolight: Broken for more than 6 months 2016-07-04 www/varnish-libvmod-header: Broken for more than 6 months 2016-07-04 www/xpi-gbrain: Broken for more than 6 months 2016-07-04 www/trac-robotstxt: Broken for more than 6 months 2016-07-04 www/simplog: Broken for more than 6 months 2016-07-04 www/chtml: Broken for more than 6 months 2016-07-04 databases/postgresql_autodoc: Broken for more than 6 months 2016-07-04 databases/oracle_odbc_driver: Broken for more than 6 months 2016-07-04 databases/mysql-xql: Broken for more than 6 months 2016-07-04 databases/mysql-udf-sys: Broken for more than 6 months 2016-07-04 games/lucidlife: Broken for more than 6 months 2016-07-04 games/gma: Broken for more than 6 months 2016-07-04 games/smiley: Broken for more than 6 months 2016-07-04 games/noegnud-littlehack: Broken for more than 6 months 2016-07-04 games/sdlquake2: Broken for more than 6 months 2016-07-04 games/daimonin: Depends on expiring games/daimonin-music 2016-07-04 games/noegnud-nethack: Broken for more than 6 months 2016-07-04 games/xbomber: Broken for more than 6 months 2016-07-04 games/xwelltris: Broken for more than 6 months 2016-07-04 games/ftjava: Broken for more than 6 months 2016-07-04 games/daimonin-music: Broken for more than 6 months 2016-07-04 games/gno3dtet: Broken for more than 6 months 2016-07-04 games/qtv: Broken for more than 6 months 2016-07-04 games/xwordpy: Broken for more than 6 months 2016-07-04 games/netris: Broken for more than 6 months 2016-07-04 games/rt2-demo: Broken for more than 6 months 2016-07-04 games/noegnud-addons: Broken for more than 6 months 2016-07-04 games/noegnud-nethack-deet: Broken for more than 6 months 2016-07-04 games/live-f1: Broken for more than 6 months 2016-07-04 games/xonix: Broken for more than 6 months 2016-07-04 games/fgkicker: Broken for more than 6 months 2016-07-04 games/tank: Depends on expiring graphics/libaux 2016-07-04 games/linux-nwserver: Broken for more than 6 months 2016-07-04 games/quake2-zaero: Broken for more than 6 months 2016-07-04 games/pyching: Broken for more than 6 months 2016-07-04 games/thevalley: Broken for more than 6 months 2016-07-04 games/xroads: Broken for more than 6 months 2016-07-04 games/fxsudoku: Broken for more than 6 months 2016-07-04 games/sudoku: Broken for more than 6 months 2016-07-04 games/kmancala: Broken for more than 6 months 2016-07-04 games/plonx: Broken for more than 6 months 2016-07-04 games/wmminichess: Broken for more than 6 months 2016-07-04 games/noegnud-slashem: Broken for more than 6 months 2016-07-04 games/latrine: Broken for more than 6 months 2016-07-04 games/pysycache-themes: Broken for more than 6 months 2016-07-04 games/nibbles: Broken for more than 6 months 2016-07-04 games/hlstatsx: Broken for more than 6 months 2016-07-04 audio/streamtuner: Broken for more than 6 months 2016-07-04 audio/mangler: Broken for more than 6 months 2016-07-04 audio/hawkvoice: Broken for more than 6 months 2016-07-04 audio/alac: Broken for more than 6 months 2016-07-04 x11-wm/e-module-mpdule: Broken for more than 6 months 2016-07-04 x11-wm/e-module-tclock: Broken for more than 6 months 2016-07-04 x11-wm/musca: Broken for more than 6 months 2016-07-04 x11-wm/e-module-places: Broken for more than 6 months 2016-07-04 x11-wm/e-module-forecasts: Broken for more than 6 months 2016-07-04 x11-wm/e-module-net: Broken for more than 6 months 2016-07-04 x11-wm/e-module-penguins: Broken for more than 6 months 2016-07-04 ftp/fget: Broken for more than 6 months 2016-07-04 net-mgmt/netmond: Broken for more than 6 months 2016-07-04 net-mgmt/ipfm: Broken for more than 6 months Deprecate ports broken for more than 6 months 2016-06-03T16:44:58+00:00 antoine antoine@FreeBSD.org 2016-06-03T16:44:58+00:00 76923284d121afff121a628c16bc7d49b1a9702f

Remove expired misc/kdehier4 and update all of its consumers to not reference it any 2016-05-25T20:56:06+00:00 rene rene@FreeBSD.org 2016-05-25T20:56:06+00:00 660737c71678de2a8a901f1efb2a6ae7e2af5ae3 longer. This is a no-op because KDE4_PREFIX is equal to LOCALBASE Fix up properties for misc/kde4-l10n/files/bsd.l10n.mk to make svn happy. PR: 209014 (partial) Submitted by: myself Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D6542
longer. This is a no-op because KDE4_PREFIX is equal to LOCALBASE

Fix up properties for misc/kde4-l10n/files/bsd.l10n.mk to make svn happy.

PR:		209014 (partial)
Submitted by:	myself
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D6542
Convert tab after WWW: in pkg-descrs to single space as per PHB 2016-05-23T18:36:52+00:00 amdmi3 amdmi3@FreeBSD.org 2016-05-23T18:36:52+00:00 63373f0f49896d5c0e7a4aa1851b4943ff9f10af Approved by: portmgr blanket
Approved by:	portmgr blanket
Mark as broken: does not fetch 2015-12-13T09:41:22+00:00 bapt bapt@FreeBSD.org 2015-12-13T09:41:22+00:00 5b4d9b08a8a714b4d1f8220d181382f05d504b38

drop @dirrm from my ports 2014-11-05T12:25:04+00:00 makc makc@FreeBSD.org 2014-11-05T12:25:04+00:00 2898962bf824a047243a8c25114d85b27c6f6230

Update the default version of GCC in the Ports Collection from GCC 4.7.4 2014-09-10T20:50:31+00:00 gerald gerald@FreeBSD.org 2014-09-10T20:50:31+00:00 c830042769f26309b16e0b0ace05fc30fec7b236 to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
Upgrade OpenEXR and ilmbase to 2.2.0. 2014-08-15T20:37:31+00:00 mandree mandree@FreeBSD.org 2014-08-15T20:37:31+00:00 58ac4e5adcce1feacac0d197fa1f72c47ff3a751 GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so GCC-based systems will upgrade to the default ports compiler (GCC 4.7 currently.) Add two patches to OpenEXR to permit building it in a live system with the older OpenEXR version installed. Bug report filed to upstream Github at https://github.com/openexr/openexr/issues/130 Couple OpenEXR more tightly to ilmbase and require its exact .so version. Add UPDATING note, and bump PORTREVISION of all dependent ports. Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer. Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)