1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/corewars/Makefile
2000-04-14 17:46:16 +00:00

37 lines
941 B
Makefile

# New ports collection makefile for: corewars
# Date created: 29 February 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= corewars
PORTVERSION= 0.9.11
CATEGORIES= games
MASTER_SITES= http://download.sourceforge.net/corewars/
MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
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}"
post-install:
@strip ${PREFIX}/bin/corewars
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/corewars."
@${ECHO} "===> 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
.endif
.include <bsd.port.mk>