Prune devel/semantic
[dports.git] / games / glightoff / Makefile
1 # Created by: Rusmir Dusko <nemysis@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       glightoff
5 PORTVERSION=    1.0.0
6 PORTREVISION=   3
7 CATEGORIES=     games
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
9
10 MAINTAINER=     games@FreeBSD.org
11 COMMENT=        Simple (but not so easy to solve!) puzzle game
12
13 BUILD_DEPENDS=  p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
14
15 LICENSE=        GPLv2
16
17 USES=           gmake iconv pkgconfig
18 GNU_CONFIGURE=  yes
19 USE_GNOME=      glib20 gtk20
20 USE_XORG=       x11
21
22 CFLAGS+=        -I${LOCALBASE}/include
23 LDFLAGS+=       -L${LOCALBASE}/lib
24
25 PORTDOCS=       AUTHORS ChangeLog NEWS README
26
27 OPTIONS_DEFINE= DOCS NLS
28 OPTIONS_SUB=    yes
29
30 NLS_USES=       gettext
31
32 .include <bsd.port.options.mk>
33
34 post-configure:
35 .if ! ${PORT_OPTIONS:MNLS}
36         @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
37 .endif
38
39 post-install:
40         @${MKDIR} ${STAGEDIR}${DOCSDIR}
41         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
42
43 .include <bsd.port.mk>