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> |