mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
0e1657446d
PR: ports/67290 Submitted by: Ports Fury
43 lines
1012 B
Makefile
43 lines
1012 B
Makefile
# New ports collection makefile for: gtkballs
|
|
# Date created: 11 November 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkballs
|
|
PORTVERSION= 3.1.3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://gtkballs.antex.ru/dist/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lines-like simple logic game for X Window System
|
|
|
|
USE_GNOME= gnometarget gtk20
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --localstatedir=${DATADIR}
|
|
|
|
MAN6= gtkballs.6x
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^install-data-local|#install-data-local|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${CHMOD} 2755 ${PREFIX}/bin/gtkballs
|
|
${CHOWN} root:games ${PREFIX}/bin/gtkballs
|
|
${CHMOD} 0664 ${DATADIR}/gtkballs-scores
|
|
${CHOWN} root:games ${DATADIR}/gtkballs-scores
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in README README.russian TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|