freebsd-ports/games/xdigger/Makefile
Kevin Lo e671ca93b9 Fix Imakefile breakage under XFree86 4.x
PR: 22364
Submitted by: Ports Fury
2000-10-28 15:46:30 +00:00

35 lines
847 B
Makefile

# New ports collection makefile for: xdigger
# Date created: 29 June 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xdigger
PORTVERSION= 1.0.10
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
USE_IMAKE= yes
MAN6= xdigger.6
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h
post-install:
@${CHMOD} 2755 ${PREFIX}/bin/xdigger
@${CHOWN} root:games ${PREFIX}/bin/xdigger
@${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore
@${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xdigger
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xdigger
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdigger
.endif
.include <bsd.port.mk>