freebsd-ports/games/glightoff/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

47 lines
862 B
Makefile

# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= glightoff
PORTVERSION= 1.0.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= Simple (but not so easy to solve!) puzzle game
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20 gtk20
USE_XORG= x11
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-configure:
.if !${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>