Lines 11-23
Link Here
|
11 |
COMMENT= Emilia Pinball is a free pinball game |
11 |
COMMENT= Emilia Pinball is a free pinball game |
12 |
|
12 |
|
13 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
15 |
|
15 |
USES= gmake libtool:keepla # .la needed for plugin loading |
16 |
USES= gmake localbase:ldflags libtool:keepla # .la needed for plugin loading |
16 |
USE_GL= gl |
17 |
USE_GL= gl glu |
17 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
CONFIGURE_ARGS= --without-debug |
18 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
19 |
|
21 |
|
20 |
CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug |
22 |
CPPFLAGS+= -DRZR_LIBSTATIC |
21 |
|
23 |
|
22 |
OPTIONS_DEFINE= DOCS |
24 |
OPTIONS_DEFINE= DOCS |
23 |
|
25 |
|
Lines 29-41
Link Here
|
29 |
.else |
31 |
.else |
30 |
USE_SDL= image mixer sdl |
32 |
USE_SDL= image mixer sdl |
31 |
.endif |
33 |
.endif |
32 |
|
|
|
33 |
CPPFLAGS+= -I${LOCALBASE}/include -DRZR_LIBSTATIC |
34 |
LDFLAGS+= -L${LOCALBASE}/lib |
35 |
#MAKE_JOBS_UNSAFE= yes |
34 |
#MAKE_JOBS_UNSAFE= yes |
36 |
|
35 |
|
37 |
DOCS= README |
|
|
38 |
|
39 |
# For gmake>=3.82 |
36 |
# For gmake>=3.82 |
40 |
pre-configure: |
37 |
pre-configure: |
41 |
@${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ |
38 |
@${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ |
Lines 49-57
Link Here
|
49 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* |
46 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* |
50 |
|
47 |
|
51 |
post-install-DOCS-on: |
48 |
post-install-DOCS-on: |
52 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
49 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
53 |
.for FILE in ${DOCS} |
50 |
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} |
|
|
55 |
.endfor |
56 |
|
51 |
|
57 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.mk> |