Lines 19-25
Link Here
|
19 |
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt |
19 |
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt |
20 |
LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt |
20 |
LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt |
21 |
|
21 |
|
22 |
USES= cmake dos2unix iconv:wchar_t localbase:ldflags sdl zip |
22 |
USES= cmake compiler dos2unix iconv:wchar_t localbase:ldflags sdl zip |
23 |
USE_SDL= sdl2 |
23 |
USE_SDL= sdl2 |
24 |
|
24 |
|
25 |
WRKSRC= ${WRKDIR}/ft2-clone-code |
25 |
WRKSRC= ${WRKDIR}/ft2-clone-code |
Lines 42-47
Link Here
|
42 |
ALSA_CFLAGS+= -D__LINUX_ALSA__ |
42 |
ALSA_CFLAGS+= -D__LINUX_ALSA__ |
43 |
ALSA_LDFLAGS+= -lasound |
43 |
ALSA_LDFLAGS+= -lasound |
44 |
|
44 |
|
|
|
45 |
CFLAGS_i386+= -msse2 |
46 |
|
47 |
.include <bsd.port.pre.mk> |
48 |
|
49 |
# clang reports: |
50 |
# error: invalid argument '-std=c99' not allowed with 'C++' |
51 |
.if ${CHOSEN_COMPILER_TYPE} == gcc |
52 |
USE_CSTD= c99 |
53 |
.endif |
54 |
|
45 |
do-install: |
55 |
do-install: |
46 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps |
56 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps |
47 |
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \ |
57 |
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \ |
Lines 49-52
Link Here
|
49 |
${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ |
59 |
${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ |
50 |
${STAGEDIR}${PREFIX}/share/pixmaps |
60 |
${STAGEDIR}${PREFIX}/share/pixmaps |
51 |
|
61 |
|
52 |
.include <bsd.port.mk> |
62 |
.include <bsd.port.post.mk> |