freebsd-ports/games/umark/Makefile
Alexey Dokuchaev 2bd3b57565 Attempt to fix the build on 4.X.
Suggested by:	vs (long time ago)
2006-01-24 13:14:48 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: UMark
# Date created: 31 Jul 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= umark
DISTVERSION= 2.0.0-Beta3
CATEGORIES= games benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ut2k3botbench
DISTNAME= UMark-for-Linux-v${DISTVERSION:S/.//g}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Unreal Tournament 200x series benchmark utility
USE_GCC= 3.3+
USE_X_PREFIX= yes
USE_GNOME= gtk20
WRKSRC= ${WRKDIR}/UMark/src
MAKEFILE= ${FILESDIR}/Makefile
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR}
cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for txt in ChangeLog INSTALL README TODO
${INSTALL_DATA} ${WRKDIR}/UMark/${txt} ${DOCSDIR}
. endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>