1998-05-18 16:18:41 +02:00
|
|
|
# New ports collection makefile for: xmastermind
|
|
|
|
# Date created: 23 March 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-05-18 16:18:41 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= xmastermind
|
|
|
|
PORTVERSION= 0.1
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 4
|
1998-07-28 01:25:33 +02:00
|
|
|
CATEGORIES= games
|
1998-05-18 16:18:41 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= games/strategy
|
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Mastermind game for X Window System
|
1998-05-18 16:18:41 +02:00
|
|
|
|
2002-07-04 11:20:30 +02:00
|
|
|
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
|
1998-05-18 16:18:41 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xpm
|
1998-05-18 16:18:41 +02:00
|
|
|
|
2002-01-02 05:16:51 +01:00
|
|
|
pre-patch:
|
2002-06-30 04:50:27 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
|
2002-01-02 05:16:51 +01:00
|
|
|
${WRKSRC}/list.h
|
|
|
|
|
1998-05-18 16:18:41 +02:00
|
|
|
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>
|