freebsd-ports/games/glightoff/Makefile
Rusmir Dusko d30315fe54 - Change Makefile header
- Bump PORTREVISION for dependency change
- Add dependency for textproc/p5-XML-Parser
- Add USES iconv
- Add DOCS Option
- Support STAGEDIR

Approved by:	pawel / wg (mentors, implicit)
2013-12-23 06:51:39 +00:00

43 lines
887 B
Makefile

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