freebsd-ports/games/empire/Makefile
Max Brazhnikov 4293d7ce2e Update to version 1.8
Add LICENSE info

PR:		ports/151685
Submitted by:	Pawel Pekala <c0rn at o2.pl>
2010-10-30 15:52:36 +00:00

41 lines
874 B
Makefile

# New ports collection makefile for: empire
# Date created: 13 May 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= empire
PORTVERSION= 1.8
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Solitaire empire game "VMS Empire"
LICENSE= GPLv2
MAN6= empire.6
PLIST_FILES= bin/empire
PORTDOCS= BUGS README
USE_GMAKE= yes
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 700042
@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
${INSTALL_MAN} ${WRKSRC}/empire.6 ${MANPREFIX}/man/man6/empire.6
.if !defined(NOPORTDOCS)
.for file in BUGS README
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>