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

(-)games/lgeneral/Makefile (-12 / +14 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	lgeneral
8
PORTNAME=	lgeneral
9
PORTVERSION=	1.2.2
9
PORTVERSION=	1.2.3
10
PORTREVISION=	1
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME} \
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME} \
13
		SF/${PORTNAME}/${PORTNAME}-data:data
12
		SF/${PORTNAME}/${PORTNAME}-data:data
Lines 21-36 Link Here
21
20
22
CONFLICTS=	lgeneral-data-[0-9]*
21
CONFLICTS=	lgeneral-data-[0-9]*
23
22
23
OPTIONS=	SOUND "Enable sound support" on \
24
		NLS "Enable native language support" on
25
24
USE_SDL=	sdl
26
USE_SDL=	sdl
25
USE_GMAKE=	yes
27
USE_GMAKE=	yes
26
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
27
MAKE_JOBS_SAFE=	yes
29
MAKE_JOBS_SAFE=	yes
28
30
31
CPPFLAGS+=	-I${LOCALBASE}/include
32
LDFLAGS+=	-L${LOCALBASE}/lib
33
29
MAN1=		lgc-pg.1
34
MAN1=		lgc-pg.1
30
MAN6=		lgeneral.6
35
MAN6=		lgeneral.6
31
36
32
CPPFLAGS+=	-I${LOCALBASE}/include
37
.include <bsd.port.options.mk>
33
LDFLAGS+=	-L${LOCALBASE}/lib
34
38
35
.if defined(WITHOUT_SOUND)
39
.if defined(WITHOUT_SOUND)
36
CONFIGURE_ARGS+=--disable-sound
40
CONFIGURE_ARGS+=--disable-sound
Lines 47-55 Link Here
47
PLIST_SUB+=	NLS=""
51
PLIST_SUB+=	NLS=""
48
.endif
52
.endif
49
53
54
.include <bsd.port.pre.mk>
55
56
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
57
BROKEN=		Does not install on ia64, powerpc, or sparc64
58
.endif
59
50
post-patch:
60
post-patch:
51
	@${REINPLACE_CMD} -e 's|-g -Wall|-Wall| ; \
52
		 s|/games||' ${WRKSRC}/configure
53
	@${REINPLACE_CMD} -e 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in
61
	@${REINPLACE_CMD} -e 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in
54
62
55
post-install:
63
post-install:
Lines 62-71 Link Here
62
	${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
70
	${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
63
.endif
71
.endif
64
72
65
.include <bsd.port.pre.mk>
66
67
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
68
BROKEN=		Does not install on ia64, powerpc, or sparc64
69
.endif
70
71
.include <bsd.port.post.mk>
73
.include <bsd.port.post.mk>
(-)games/lgeneral/distinfo (-2 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (lgeneral-1.2.2.tar.gz) = 1817c409120b9e5f51da2cd43c96c5eda91d6a1207417eeb3e8bacd11248eb74
1
SHA256 (lgeneral-1.2.3.tar.gz) = 55d17bb173c956c705b94bc8a6399d5311b3ec82c9f1821a97fe9ec45da0d9a1
2
SIZE (lgeneral-1.2.2.tar.gz) = 1628913
2
SIZE (lgeneral-1.2.3.tar.gz) = 1630400
3
SHA256 (pg-data.tar.gz) = cc6fa5d263d1d5824d706517958b1bb09b405ba0ed21e63e4a4d38e2727d7a04
3
SHA256 (pg-data.tar.gz) = cc6fa5d263d1d5824d706517958b1bb09b405ba0ed21e63e4a4d38e2727d7a04
4
SIZE (pg-data.tar.gz) = 410476
4
SIZE (pg-data.tar.gz) = 410476

Return to bug 168033