aboutsummaryrefslogtreecommitdiff
path: root/games/lianliankan/Makefile
blob: d6ea73b7ef8d964469ed99aa54b4279e6f4fd7ed (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=	5
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:env
USE_GNOME=	gtk20 esound
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes

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>