1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/wargus/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: wargus
# Date created: 1 Jul 2004
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= wargus
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= tlp@liquidx.org
COMMENT= Warcraft 2 mod that allows you to play Warcraft 2 with Stratagus
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= stratagus:${PORTSDIR}/games/stratagus
NOT_FOR_ARCHS= sparc64
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= ${PORTNAME} pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
cd ${WRKSRC} && \
${FIND} campaigns contrib maps scripts -type d \
-exec ${MKDIR} "${DATADIR}/{}" \; && \
${FIND} campaigns contrib maps scripts -type f \
-exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
${INSTALL_PROGRAM} ${WRKSRC}/wartool ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/build.sh ${DATADIR}
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>