1997-06-27 11:59:32 +02:00
|
|
|
# New ports collection makefile for: empire
|
|
|
|
# Date created: 13 May 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1997-06-27 11:59:32 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:43:02 +02:00
|
|
|
PORTNAME= empire
|
2004-11-22 16:04:16 +01:00
|
|
|
PORTVERSION= 1.7
|
2007-02-03 02:27:49 +01:00
|
|
|
PORTREVISION= 1
|
2000-04-02 03:00:24 +02:00
|
|
|
CATEGORIES= games
|
2003-01-26 01:05:54 +01:00
|
|
|
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
|
|
|
|
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
|
1997-06-27 11:59:32 +02:00
|
|
|
|
2008-08-19 11:18:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Solitaire empire game "VMS Empire"
|
1997-06-27 11:59:32 +02:00
|
|
|
|
2000-08-14 05:20:44 +02:00
|
|
|
MAN6= empire.6
|
2007-02-03 02:27:49 +01:00
|
|
|
PLIST_FILES= bin/empire
|
|
|
|
PORTDOCS= BUGS README
|
2005-10-12 04:48:19 +02:00
|
|
|
USE_GMAKE= yes
|
1997-06-27 11:59:32 +02:00
|
|
|
|
2007-07-15 17:32:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
|
|
|
|
.endif
|
|
|
|
|
1997-06-27 11:59:32 +02:00
|
|
|
do-install:
|
2000-08-13 16:32:33 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
|
2001-02-03 16:02:58 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${MANPREFIX}/man/man6/empire.6
|
2000-04-02 03:00:24 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-08 19:07:29 +02:00
|
|
|
.for file in BUGS README
|
2003-01-26 01:05:54 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
1997-06-27 11:59:32 +02:00
|
|
|
.endfor
|
2000-04-02 03:00:24 +02:00
|
|
|
.endif
|
1997-06-27 11:59:32 +02:00
|
|
|
|
2007-07-15 17:32:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|