Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ltris |
8 |
PORTNAME= ltris |
9 |
PORTVERSION= 1.0.10 |
9 |
PORTVERSION= 1.0.11 |
10 |
PORTEPOCH= 1 |
10 |
PORTEPOCH= 1 |
11 |
CATEGORIES= games |
11 |
CATEGORIES= games |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
Lines 19-29
Link Here
|
19 |
USE_REINPLACE= yes |
19 |
USE_REINPLACE= yes |
20 |
USE_GMAKE= yes |
20 |
USE_GMAKE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
|
|
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
22 |
|
25 |
|
23 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
24 |
|
27 |
|
|
|
28 |
.if defined(WITHOUT_NLS) |
29 |
CONFIGURE_ARGS+= --disable-nls |
30 |
PLIST_SUB+= NLS="@comment " |
31 |
.else |
32 |
USE_GETTEXT= yes |
33 |
PLIST_SUB+= NLS="" |
34 |
.endif |
35 |
|
25 |
post-patch: |
36 |
post-patch: |
26 |
@${REINPLACE_CMD} -e 's|--mode=666||g' ${WRKSRC}/src/Makefile.in |
37 |
@${REINPLACE_CMD} -e 's|= @mixer_flag@|= @INTLLIBS@ @mixer_flag@|g ; \ |
|
|
38 |
s|--mode=666||g' ${WRKSRC}/src/Makefile.in |
27 |
|
39 |
|
28 |
post-install: |
40 |
post-install: |
29 |
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME} |
41 |
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME} |