2000-03-01 03:03:34 +00:00
|
|
|
# New ports collection makefile for: corewars
|
|
|
|
# Date created: 29 February 2000
|
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 00:45:49 +00:00
|
|
|
PORTNAME= corewars
|
2000-04-14 17:46:16 +00:00
|
|
|
PORTVERSION= 0.9.11
|
2000-03-01 03:03:34 +00:00
|
|
|
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}"
|
2000-03-07 04:38:43 +00:00
|
|
|
MAKE_ENV= FREEBSD_CFLAGS="${CFLAGS}"
|
2000-03-01 03:03:34 +00:00
|
|
|
|
|
|
|
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>
|