Link Here
|
2 |
# $FreeBSD: head/emulators/advancemenu/Makefile 386392 2015-05-15 08:25:42Z marino $ |
2 |
# $FreeBSD: head/emulators/advancemenu/Makefile 386392 2015-05-15 08:25:42Z marino $ |
3 |
|
3 |
|
4 |
PORTNAME= advancemenu |
4 |
PORTNAME= advancemenu |
5 |
PORTVERSION= 2.7 |
5 |
PORTVERSION= 2.8 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= emulators |
6 |
CATEGORIES= emulators |
8 |
MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION} |
7 |
MASTER_SITES= https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/ |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= Frontend for AdvanceMAME, MAME, MESS, RAINE |
10 |
COMMENT= Frontend for AdvanceMAME, MAME, MESS, RAINE |
Link Here
|
19 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ |
19 |
CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ |
21 |
--disable-slang --disable-ncurses --disable-kevent |
20 |
--disable-slang --disable-ncurses --disable-kevent |
|
|
21 |
MAKE_JOBS_UNSAFE= yes |
22 |
|
22 |
|
23 |
CFLAGS+= -idirafter ${LOCALBASE}/include |
23 |
CFLAGS+= -idirafter ${LOCALBASE}/include |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
Link Here
|
32 |
OPTIONS_DEFAULT_i386= ASM |
32 |
OPTIONS_DEFAULT_i386= ASM |
33 |
|
33 |
|
34 |
ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
34 |
ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
|
|
35 |
ASM_USE= gcc=any |
35 |
ASM_CONFIGURE_ENABLE= asm |
36 |
ASM_CONFIGURE_ENABLE= asm |
36 |
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 |
37 |
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 |
37 |
FREETYPE_CONFIGURE_ENABLE= freetype |
38 |
FREETYPE_CONFIGURE_ENABLE= freetype |
38 |
|
39 |
|
39 |
MAKE_JOBS_UNSAFE= yes |
|
|
40 |
|
41 |
post-patch: |
40 |
post-patch: |
42 |
@${REINPLACE_CMD} -e \ |
41 |
@${REINPLACE_CMD} -e \ |
43 |
's|-lpthread|-pthread|' ${WRKSRC}/configure |
42 |
's|-lpthread|-pthread|' ${WRKSRC}/configure |
Link Here
|
50 |
(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 \ |
49 |
(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 \ |
51 |
${STAGEDIR}${MANPREFIX}/man/man1) |
50 |
${STAGEDIR}${MANPREFIX}/man/man1) |
52 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
51 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
53 |
.for i in HISTORY README RELEASE |
52 |
(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \ |
54 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ |
|
|
55 |
${STAGEDIR}${DOCSDIR}) |
53 |
${STAGEDIR}${DOCSDIR}) |
56 |
.endfor |
|
|
57 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* \ |
54 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* \ |
58 |
${STAGEDIR}${DOCSDIR}) |
55 |
${STAGEDIR}${DOCSDIR}) |
59 |
|
56 |
|