blob: d31a93d370ee76e5e3a531fa2592fb682372d3de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# 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.4.2
CATEGORIES= games
MASTER_SITES= http://chaos2.org/xpuyopuyo/ \
http://lenin.dabney.caltech.edu/~justins/xpuyopuyo/
MAINTAINER= yinjieh@csie.nctu.edu.tw
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
.endif
.if defined(WITH_MUSIC)
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
.endif
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_AUTOCONF= yes
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
.if defined(WITH_GNOME)
CONFIGURE_ARGS+=--with-gnome=${X11BASE}
.else
CONFIGURE_ARGS+=--without-gnome
.endif
.if defined(WITH_ROTATE_FIXED)
CONFIGURE_ARGS+=--enable-rotate-fixed
.endif
.if defined(WITH_AIBREED)
CONFIGURE_ARGS+=--enable-aibreed
.endif
.if defined(WITH_MUSIC)
CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
.endif
MAN6= xpuyopuyo.6
.if defined(WITH_GNOME)
PLIST= ${WRKDIR}/PLIST
pre-install:
@${CP} ${PKGDIR}/PLIST ${PLIST}
@${ECHO} share/gnome/apps/Games/xpuyopuyo.desktop >> ${PLIST}
@${ECHO} share/gnome/pixmaps/xpuyopuyo.xpm >> ${PLIST}
.endif
.include <bsd.port.mk>
|