# Created by: Seiichirou Hiraoka # $FreeBSD$ PORTNAME= xsystem35 PORTVERSION= 1.7.2 PORTREVISION= 15 CATEGORIES= emulators MASTER_SITES= http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/down/ MAINTAINER= ports@FreeBSD.org COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System LICENSE= GPLv2 # (or later) LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \ jpeg:${PORTSDIR}/graphics/jpeg OPTIONS_DEFINE= ESOUND DOCS EXAMPLES USES= gettext USE_GNOME= gtk12 USE_GMAKE= yes USE_AUTOTOOLS= autoconf libtool CONFIGURE_ARGS= --without-included-gettext \ --with-cachesize=20 \ --enable-midi=seq,extp,raw \ --enable-cdrom=bsd,mp3 MAKE_JOBS_SAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} .include .if ${PORT_OPTIONS:MESOUND} USE_GNOME+= esound CONFIGURE_ARGS+= --enable-audio=oss,esd --with-default-output=esd .else CONFIGURE_ARGS+= --enable-audio=oss --with-default-output=oss .endif #.if ${PORT_OPTIONS:MSDL} #USE_SDL= sdl #CONFIGURE_ARGS+= --enable-sdl #CPPFLAGS+= $$(${SDL_CONFIG} --cflags) #LDFLAGS+= $$(${SDL_CONFIG} --libs) #.else CONFIGURE_ARGS+= --disable-sdl #.endif .if ${MACHINE_CPU:Mmmx} && !defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --enable-mmx BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm .else CONFIGURE_ARGS+= --disable-mmx .endif post-extract: @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL post-patch: ${FIND} ${WRKSRC}/src -type f |\ ${XARGS} ${GREP} -l '