1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/games/corewars/Makefile

37 lines
954 B
Makefile
Raw Normal View History

# New ports collection makefile for: corewars
2000-03-03 19:45:15 +00:00
# Version required: 0.9.2
# Date created: 29 February 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
2000-03-03 19:45:15 +00:00
DISTNAME= corewars-0.9.2
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>