diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
commit | 97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch) | |
tree | a059ae14b97a6e427c4c5a801e98bb245e73742e /games/nethack-gtk | |
parent | 38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff) | |
download | FreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip FreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz |
Implement USE_GTK, part 1.
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 c864c28..bb11be0 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 438801a..1d3ff89 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. |