freebsd-ports/games/lianliankan/Makefile
Jason E. Hale d3648adda0 - Add LICENSE
- Mark MAKE_JOBS_SAFE
- Improve build and remove some annoying warnings
- Improve .desktop file
- Update pkg-descr
- Convert Makefile header to new format
- Pass maintainership to submitter

PR:		ports/172187
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	makc (mentor)
2012-10-06 04:27:07 +00:00

49 lines
1 KiB
Makefile

# Created by: Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= lianliankan
DISTVERSION= 2.3beta1
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/llk-linux/llk-linux-source/${DISTVERSION}
DISTNAME= llk_linux-${DISTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= Tile matching game
LICENSE= GPLv2
USE_PKGCONFIG= build
USE_GNOME= gtk20 esound
USE_AUTOTOOLS= aclocal automake autoconf libtool
MAKE_JOBS_SAFE= yes
AUTOMAKE_ARGS= --add-missing --copy
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DATADIR= ${PREFIX}/share/llk_linux
DOCSDIR= ${PREFIX}/share/doc/llk_linux
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||' \
${WRKSRC}/Makefile.am
.endif
post-install:
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/lianliankan.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>