mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +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)
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcsxr
|
|
PORTVERSION= 1.9.94.r87113
|
|
PORTREVISION= 5
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
|
|
LOCAL/martymac
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Playstation (PSX) emulator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
|
|
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
|
libcdio.so:${PORTSDIR}/sysutils/libcdio
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USE_AUTOTOOLS= autoconf:env aclocal:env automake:env libtoolize:env
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USE_CSTD= gnu89
|
|
CONFIGURE_ARGS= --enable-opengl --enable-libcdio
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GNOME= gtk30 glib20
|
|
USE_XORG= x11 xv xext xxf86vm xtst
|
|
USE_SDL= sdl
|
|
USE_GL= gl
|
|
|
|
USES= tar:bzip2 dos2unix iconv gmake pkgconfig libtool desktop-file-utils
|
|
DOS2UNIX_REGEX= .*\.(c|h|cpp|hpp|am)
|
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
# Default CDROM device to use with dfcdrom,
|
|
# accessed through libcdio (using cam(4) and pass(4))
|
|
DEFAULT_DVD_DEVICE?= /dev/cd0
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
CONFIGURE_ARGS+= --enable-dynarec=x86_64
|
|
.endif
|
|
|
|
# Add ${PREFIX} to plugins' lookup directories and set default CDROM device
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \
|
|
${WRKSRC}/gui/LnxMain.c
|
|
@${REINPLACE_CMD} "s|%%DVD_DEVICE%%|${DEFAULT_DVD_DEVICE}|" \
|
|
${WRKSRC}/plugins/dfcdrom/cdr.h
|
|
|
|
pre-configure:
|
|
@(cd ${WRKSRC} && ${AUTORECONF} -fi)
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|