# New ports collection makefile for:	lianliankan
# Date created:				26 April 2006
# Whom:					Liu.Yinghong <liu_yinghong@yahoo.com.cn>
#
# $FreeBSD: ports/games/lianliankan/Makefile,v 1.3 2006/05/25 21:31:44 pav Exp $
#

PORTNAME=	lianliankan
PORTVERSION=	2.2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	llk-linux
DISTNAME=	llk_linux-${PORTVERSION}

MAINTAINER=	liu_yinghong@yahoo.com.cn
COMMENT=	A scarce recreation game

USE_GNOME=	gtk20 esound
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

post-install:
	${MKDIR} ${PREFIX}/share/applications
	${INSTALL_DATA} ${FILESDIR}/lianliankan.desktop ${PREFIX}/share/applications

.include <bsd.port.post.mk>
