1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/gtkballs/Makefile
Ying-Chieh Liao ed4c1bdb46 upgrade to 2.1
PR:		32219
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-11-23 17:44:43 +00:00

41 lines
912 B
Makefile

# New ports collection makefile for: gtkballs
# Date created: 11 November 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= gtkballs
PORTVERSION= 2.1
CATEGORIES= games
MASTER_SITES= http://gtkballs.antex.ru/dist/
MAINTAINER= ports@FreeBSD.org
USE_GTK= 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:
@${PERL} -pi -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} 0666 ${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>