1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/games/xpuyopuyo/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

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: xpuyopuyo
# Date created: 19 Sep 1999
# Whom: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= xpuyopuyo
PORTVERSION= 0.9.8
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://chaos2.org/xpuyopuyo/
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A puzzle game, somewhat like Tetris
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_AUTOTOOLS= autoconf:213
USE_GNOME= gtk12
WANT_GNOME= yes
MAN6= xpuyopuyo.6
OPTIONS= MIKMOD "libmikmod support" off \
ROTATE_FIXED "Fix position of one blob during rotation" off \
AIBREED "Allow AI breeding" off
.include <bsd.port.pre.mk>
.if defined(WITH_MIKMOD) || exists(${LOCALBASE}/lib/libmikmod.a)
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
.endif
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomelibs gnomehack
PKGNAMESUFFIX= -gnome
PLIST_SUB+= DATADIR="share/gnome"
.else
CONFIGURE_ARGS+= --without-gnome
PLIST_SUB+= DATADIR="share"
.endif
.if defined(WITH_ROTATE_FIXED)
CONFIGURE_ARGS+=--enable-rotate-fixed
.endif
.if defined(WITH_AIBREED)
CONFIGURE_ARGS+=--enable-aibreed
.endif
.include <bsd.port.post.mk>