diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 14:36:23 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 14:36:23 +0800 |
commit | 97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch) | |
tree | a059ae14b97a6e427c4c5a801e98bb245e73742e /games/corewars/Makefile | |
parent | 38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff) | |
download | freebsd-ports-graphics-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz freebsd-ports-graphics-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.zst freebsd-ports-graphics-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip |
Implement USE_GTK, part 1.
Diffstat (limited to 'games/corewars/Makefile')
-rw-r--r-- | games/corewars/Makefile | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile index 2d340707a9f..3d6a37d8c61 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 <bsd.port.mk> |