mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# Created by: alepulver
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= advancemenu
|
|
PORTVERSION= 2.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Frontend for AdvanceMAME, MAME, MESS, RAINE
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
|
|
|
|
USES= gmake
|
|
USE_SDL= sdl
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \
|
|
--disable-slang --disable-ncurses --disable-kevent
|
|
|
|
CFLAGS+= -idirafter ${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES= bin/advmenu man/man1/advmenu.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS FREETYPE
|
|
OPTIONS_DEFINE_i386= ASM
|
|
OPTIONS_DEFAULT= FREETYPE
|
|
OPTIONS_DEFAULT_i386= ASM
|
|
|
|
ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
ASM_CONFIGURE_ENABLE= asm
|
|
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
|
|
FREETYPE_CONFIGURE_ENABLE= freetype
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lpthread|-pthread|' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|@@|@|' ${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} advmenu \
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
(cd ${WRKSRC}/doc && ${INSTALL_MAN} advmenu.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in HISTORY README RELEASE
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
|
|
${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
(cd ${WRKSRC}/doc && ${INSTALL_DATA} advmenu.[ht]* \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|