1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/games/wargus/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

39 lines
945 B
Makefile

# Created by: Travis Poppe <tlp@liquidx.org>
# $FreeBSD$
PORTNAME= wargus
PORTVERSION= 2.3.0
CATEGORIES= games
MASTER_SITES= http://launchpadlibrarian.net/200671642/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Warcraft 2 mod that allows you to play Warcraft 2 with Stratagus
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= stratagus:games/stratagus \
ffmpeg2theora:multimedia/ffmpeg2theora \
cdparanoia:audio/cdparanoia
BUILD_DEPENDS= stratagus:games/stratagus
LIB_DEPENDS= libpng.so:graphics/png
USES= cmake pkgconfig
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DSHAREDIR:STRING="${DATADIR_REL}"
USE_XORG= x11
USE_GNOME= gtk20
SUB_FILES= pkg-message
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>