From 97830337b8c0333a12d15a49ea1f9c9cdc3dfddf Mon Sep 17 00:00:00 2001 From: reg Date: Thu, 5 Oct 2000 06:36:23 +0000 Subject: Implement USE_GTK, part 1. --- games/corewars/Makefile | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'games/corewars') diff --git a/games/corewars/Makefile b/games/corewars/Makefile index 2d34070..3d6a37d 100644 --- a/games/corewars/Makefile +++ b/games/corewars/Makefile @@ -5,35 +5,27 @@ # $FreeBSD$ # -PORTNAME= corewars -PORTVERSION= 0.9.12 -CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTNAME= corewars +PORTVERSION= 0.9.12 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= jim@FreeBSD.org +MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +USE_X_PREFIX= yes +USE_GTK= yes +GNU_CONFIGURE= yes +MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}" -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config - -USE_X_PREFIX= yes -GNU_CONFIGURE= yes - -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" -MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}" - -MAN6= corewars.6 +MAN6= corewars.6 post-install: - @strip ${PREFIX}/bin/corewars .if !defined(NOPORTDOCS) - @${ECHO} "===> Installing README in ${PREFIX}/share/doc/corewars." - @${ECHO} "===> Please read it before playing." + @${ECHO_MSG} "===> Installing README in ${PREFIX}/share/doc/corewars." + @${ECHO_MSG} "===> Please read it before playing." @${MKDIR} ${PREFIX}/share/doc/corewars && ${CHMOD} a+rx ${PREFIX}/share/doc/corewars - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/corewars + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/corewars .endif .include -- cgit v1.1