freebsd-ports/games/xinvaders/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: xinvaders
# Date created: 3 Jan 1995
# Whom: swallace
#
# $FreeBSD$
#
PORTNAME= xinvaders
PORTVERSION= 2.1.1
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade/invaders
MAINTAINER= ports@FreeBSD.org
COMMENT= Shoot-em-up them nasty little bugs
ONLY_FOR_ARCHS= i386
NO_CDROM= "don't sell for profit"
USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_AUTOTOOLS= automake:14 autoconf:213
AUTOMAKE_ARGS= --include-deps
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --enable-scorefile=${PREFIX}/share/xinvaders/xinvaders.scores
MAN6= xinvaders.6
post-install:
${INSTALL_DATA} ${FILESDIR}/Vaders.ad ${PREFIX}/lib/X11/app-defaults/Vaders
@${MKDIR} ${PREFIX}/share/xinvaders
@${ECHO_CMD} '0' > ${PREFIX}/share/xinvaders/xinvaders.scores
@${CHOWN} root:games ${PREFIX}/bin/xinvaders
@${CHMOD} 2555 ${PREFIX}/bin/xinvaders
@${CHOWN} root:games ${PREFIX}/share/xinvaders/xinvaders.scores
@${CHMOD} 0660 ${PREFIX}/share/xinvaders/xinvaders.scores
.include <bsd.port.mk>