1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/games/xmastermind/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

44 lines
977 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= xmastermind
PORTVERSION= 0.1
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SUNSITE/games/strategy
MAINTAINER= ports@FreeBSD.org
COMMENT= Mastermind game for X Window System
LICENSE= GPLv2
LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms
USE_XORG= x11 xpm
MAKE_ENV= GRAPHLIBS="${LDFLAGS}"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lforms -lXpm -lX11
PORTDOCS= BUGS README.for.developers README.for.users
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/^CC/s| =| ?=| ; \
/^CFLAGS/s| =| ?=| ; \
/^GRAPHLIBS/s| =| ?=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|' ${WRKSRC}/list.h
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>