View | Details | Raw Unified | Return to bug 160107
Collapse All | Expand All

(-)games/tinymux/Makefile (-17 / +25 lines)
Lines 7-33 Link Here
7
7
8
PORTNAME=	tinymux
8
PORTNAME=	tinymux
9
PORTVERSION=	2.6.5.${PATCHLEVEL}
9
PORTVERSION=	2.6.5.${PATCHLEVEL}
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	games net
11
CATEGORIES=	games net
12
MASTER_SITES=	ftp://ftp.tinymux.org/TinyMUX/tinymux-2.6/${PATCHLEVEL}/ \
12
MASTER_SITES=	GOOGLE_CODE \
13
		http://www.tinymux.org/
13
		ftp://ftp.tinymux.org/TinyMUX/tinymux-2.6/${PATCHLEVEL}/
14
DISTNAME=	mux-${PORTVERSION}.unix
14
DISTNAME=	mux-${PORTVERSION}.unix
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	A Multi-Player FreeForm adventure Program
17
COMMENT=	A Multi-Player FreeForm adventure Program
18
18
19
USE_GMAKE=	yes
19
WRKSRC=		${WRKDIR}/mux2.6/src
20
20
USE_GETTEXT=	yes
21
USE_GETTEXT=	yes
22
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}"
23
		LIBS="-L${LOCALBASE}/lib"
25
MAKE_JOBS_SAFE=	yes
24
26
25
PATCHLEVEL=	32
26
WRKSRC=		${WRKDIR}/mux2.6/src
27
.if !defined(NOPORTDOCS)
28
PORTDOCS=	*
27
PORTDOCS=	*
28
29
CPPFLAGS=	-I${LOCALBASE}/include
30
LDFLAGS=	-L${LOCALBASE}/lib
31
32
PATCHLEVEL=	32
33
34
.include <bsd.port.pre.mk>
35
36
.if ${OSVERSION} >= 900000
37
BROKEN=		does not build
29
.endif
38
.endif
30
39
40
post-patch:
41
	@${REINPLACE_CMD} -e \
42
		'/^LIBS/s|= @LIBS@|= @LDFLAGS@ @LIBS@|g ; \
43
		 /^OPTIM/s|=.*|= @CPPFLAGS@|g' ${WRKSRC}/Makefile.in
44
31
do-install:
45
do-install:
32
# Binaries
46
# Binaries
33
.for file in netmux slave
47
.for file in netmux slave
Lines 35-44 Link Here
35
.endfor
49
.endfor
36
	${INSTALL_PROGRAM} ${WRKSRC}/../game/bin/dbconvert ${PREFIX}/bin
50
	${INSTALL_PROGRAM} ${WRKSRC}/../game/bin/dbconvert ${PREFIX}/bin
37
# Configuration
51
# Configuration
38
	${MKDIR} ${PREFIX}/etc/${PORTNAME}
52
	${MKDIR} ${ETCDIR}
39
.for file in alias.conf compat.conf mux.config netmux.conf
53
.for file in alias.conf compat.conf mux.config netmux.conf
40
	${INSTALL_DATA} ${WRKSRC}/../game/${file} \
54
	${INSTALL_DATA} ${WRKSRC}/../game/${file} \
41
		${PREFIX}/etc/${PORTNAME}/${file}.sample
55
		${ETCDIR}/${file}.sample
42
.endfor
56
.endfor
43
# Data
57
# Data
44
	${MKDIR} ${DATADIR}/game/netmux
58
	${MKDIR} ${DATADIR}/game/netmux
Lines 70-79 Link Here
70
.endfor
84
.endfor
71
.endif
85
.endif
72
86
73
.include <bsd.port.pre.mk>
74
75
.if ${OSVERSION} >= 900000
76
BROKEN=		does not build
77
.endif
78
79
.include <bsd.port.post.mk>
87
.include <bsd.port.post.mk>

Return to bug 160107