# 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 .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