diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
commit | fda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch) | |
tree | 4ccb4a868e97ff347416395233e3825776b24951 /games/nethack-gtk | |
parent | Implement USE_GLIB. (diff) |
Implement USE_GTK, part 1.
Notes
Notes:
svn path=/head/; revision=33424
Diffstat (limited to 'games/nethack-gtk')
-rw-r--r-- | games/nethack-gtk/Makefile | 5 | ||||
-rw-r--r-- | games/nethack-gtk/files/src-Makefile.diff | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/games/nethack-gtk/Makefile b/games/nethack-gtk/Makefile index c864c289b064..bb11be093323 100644 --- a/games/nethack-gtk/Makefile +++ b/games/nethack-gtk/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 1.1.5 CATEGORIES= games MASTER_SITES= ftp://ftp.jnethack.org/pub/jnethack/ \ ftp://ftp.uu.net/systems/gnu/nethack/ -PKGNAMEPREFIX= gtk- +PKGNAMESUFFIX= -gtk DISTNAME= ${PORTNAME}-3.2.2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GTK_PATCH} EXTRACT_ONLY= nethack-3.2.2.tar.gz @@ -21,9 +21,8 @@ PATCHFILES= nh-3.2.2-3.2.3.diff \ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 - USE_XPM= yes +USE_GTK= yes USE_GMAKE= yes MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 diff --git a/games/nethack-gtk/files/src-Makefile.diff b/games/nethack-gtk/files/src-Makefile.diff index 438801a22ac7..1d3ff896188d 100644 --- a/games/nethack-gtk/files/src-Makefile.diff +++ b/games/nethack-gtk/files/src-Makefile.diff @@ -6,8 +6,8 @@ -CFLAGS = -O -I../include -I/usr/X11R6/include `gtk-config --cflags` -LFLAGS = -O -L/usr/X11R6/lib `gtk-config --libs` -+CFLAGS = -O -I../include -I/usr/X11R6/include `gtk12-config --cflags` -+LFLAGS = -O -L/usr/X11R6/lib `gtk12-config --libs` ++CFLAGS = -O -I../include -I/usr/X11R6/include `${GTK_CONFIG} --cflags` ++LFLAGS = -O -L/usr/X11R6/lib `${GTK_CONFIG} --libs` # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired # combination of windowing systems. Also set windowing systems in config.h. |