2012-10-06 06:27:07 +02:00
|
|
|
# Created by: Yinghong Liu <relaxbsd@gmail.com>
|
2006-04-29 15:18:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lianliankan
|
2007-08-01 13:52:45 +02:00
|
|
|
DISTVERSION= 2.3beta1
|
2012-10-06 06:27:07 +02:00
|
|
|
PORTREVISION= 7
|
2006-04-29 15:18:41 +02:00
|
|
|
CATEGORIES= games
|
2012-10-06 06:27:07 +02:00
|
|
|
MASTER_SITES= SF/llk-linux/llk-linux-source/${DISTVERSION}
|
2007-08-01 13:52:45 +02:00
|
|
|
DISTNAME= llk_linux-${DISTVERSION}
|
2006-04-29 15:18:41 +02:00
|
|
|
|
2012-10-06 06:27:07 +02:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
|
|
COMMENT= Tile matching game
|
2006-04-29 15:18:41 +02:00
|
|
|
|
2012-10-06 06:27:07 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-04-23 12:47:02 +02:00
|
|
|
USES= pkgconfig
|
2006-04-29 15:18:41 +02:00
|
|
|
USE_GNOME= gtk20 esound
|
2012-10-06 06:27:07 +02:00
|
|
|
USE_AUTOTOOLS= aclocal automake autoconf libtool
|
|
|
|
|
|
|
|
AUTOMAKE_ARGS= --add-missing --copy
|
|
|
|
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
|
2006-04-29 15:18:41 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-04-29 15:18:41 +02:00
|
|
|
|
2012-10-06 06:27:07 +02:00
|
|
|
DATADIR= ${PREFIX}/share/llk_linux
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/llk_linux
|
|
|
|
|
2013-09-20 19:36:33 +02:00
|
|
|
NO_STAGE= yes
|
2012-10-06 06:27:07 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2012-10-06 06:27:07 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2007-08-01 13:52:45 +02:00
|
|
|
.endif
|
|
|
|
|
2012-10-06 06:27:07 +02:00
|
|
|
post-patch:
|
|
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||' \
|
|
|
|
${WRKSRC}/Makefile.am
|
|
|
|
.endif
|
2006-05-21 21:05:17 +02:00
|
|
|
|
2006-04-29 15:18:41 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/lianliankan.desktop ${PREFIX}/share/applications
|
|
|
|
|
2007-08-01 13:52:45 +02:00
|
|
|
.include <bsd.port.mk>
|