mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
ae1f3473b9
PR: ports/105046 Submitted by: Thomas Abthorpe <thomas@goodking.ca> Approved by: maintainer timeout
42 lines
879 B
Makefile
42 lines
879 B
Makefile
# Ports collection makefile for: wormux
|
|
# Date created: Thu Dec 16 18:46:55 EET 2004
|
|
# Whom: Anton Yudin <toha@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wormux
|
|
DISTVERSION= 0.7.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://download.gna.org/wormux/
|
|
|
|
MAINTAINER= toha@toha.org.ua
|
|
COMMENT= Wormux game
|
|
|
|
LIB_DEPENDS= xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl image mixer ttf gfx net
|
|
|
|
CONFIGURE_ARGS= --with-datadir-name=${PORTNAME} --program-prefix=""
|
|
|
|
MAN6= wormux.6
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-weapon-ninja_rope.cpp
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|