freebsd-ports/games/warmux/Makefile
Edwin Groothuis 25a5c1c67d Maybe this will work better
checking for clanSignals-0.7... no
	gnome-config: not found
	Package clanSignals-0.7 was not found in the pkg-config search path.

	thus:
	USE_GNOME=	gnomelibs
2005-01-12 03:04:36 +00:00

45 lines
1 KiB
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
PORTVERSION= 0.5.0
CATEGORIES= games
MASTER_SITES= http://download.gna.org/wormux/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= toha@toha.org.ua
COMMENT= Wormux game
USE_BZIP2= yes
USE_SDL= sdl
USE_GETTEXT= yes
USE_GNOME= gnomelibs
LIB_DEPENDS+= clanGUI-0.7:${PORTSDIR}/devel/clanlib-devel
LIB_DEPENDS+= xml\\+\\+-1.0.1:${PORTSDIR}/textproc/libxml++
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/wormux
CONFIGURE_ARGS+=--prefix=${PREFIX}
GNU_CONFIGURE=yes
.include <bsd.port.pre.mk>
post-install:
.for dir in ${PREFIX}/share/${PORTNAME}
@${FIND} ${dir} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>