freebsd-ports/games/xmastermind/Makefile
Patrick Li b50c44981d Fix for -CURRENT, malloc.h->stdlib.h
Spotted by:	Bento
2002-01-02 04:16:51 +00:00

31 lines
720 B
Makefile

# New ports collection makefile for: xmastermind
# Date created: 23 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xmastermind
PORTVERSION= 0.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
USE_X_PREFIX= yes
pre-patch:
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
${WRKSRC}/list.h
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/share/doc/xmastermind
.for file in BUGS README.for.developers README.for.users
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xmastermind
.endfor
.include <bsd.port.mk>