aboutsummaryrefslogtreecommitdiff
path: root/games/lianliankan/Makefile
blob: 75b8a8d7e1e091f2db7b3193c7b98bf16b343317 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	lianliankan
# Date created:				26 April 2006
# Whom:					Yinghong Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	lianliankan
DISTVERSION=	2.3beta1
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF/llk-linux/llk-linux-source/2.3beta1
DISTNAME=	llk_linux-${DISTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A scarce recreation game

USE_AUTOTOOLS=	automake:19:env
USE_GNOME=	gtk20 esound
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes

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

.if !defined(NOPORTDOCS)
INSTALL_TARGET=	install install-llk_linuxdocDATA
.endif

pre-configure:
.for f in install-sh depcomp missing COPYING INSTALL
	@${LN} -sf ${AUTOMAKE_DIR}/${f} ${WRKSRC}
.endfor

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

.include <bsd.port.mk>