From owner-svn-ports-all@FreeBSD.ORG Wed Apr 9 12:20:08 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F02F0E9C; Wed, 9 Apr 2014 12:20:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C47A41080; Wed, 9 Apr 2014 12:20:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s39CK8mS016095; Wed, 9 Apr 2014 12:20:08 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s39CK8VL016093; Wed, 9 Apr 2014 12:20:08 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404091220.s39CK8VL016093@svn.freebsd.org> From: Pawel Pekala Date: Wed, 9 Apr 2014 12:20:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350683 - head/emulators/advancemess X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 12:20:09 -0000 Author: pawel Date: Wed Apr 9 12:20:08 2014 New Revision: 350683 URL: http://svnweb.freebsd.org/changeset/ports/350683 QAT: https://qat.redports.org/buildarchive/r350683/ Log: - Add staging support - Convert to new LIB_DEPENDS format - Use options helpers Modified: head/emulators/advancemess/Makefile head/emulators/advancemess/pkg-plist Modified: head/emulators/advancemess/Makefile ============================================================================== --- head/emulators/advancemess/Makefile Wed Apr 9 12:16:29 2014 (r350682) +++ head/emulators/advancemess/Makefile Wed Apr 9 12:20:08 2014 (r350683) @@ -10,10 +10,10 @@ MASTER_SITES= SF/advancemame/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= SDL MESS port with advanced TV and monitor video support -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 USE_GL= yes -USE_GMAKE= yes +USES= gmake USE_SDL= sdl GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib @@ -22,33 +22,21 @@ CFLAGS+= -idirafter ${LOCALBASE}/include OPTIONS_DEFINE= FREETYPE SLANG SLANG_DESC= Enable sLang support (for video driver) -MAN1= advmess.1 +FREETYPE_CONFIGURE_ENABLE= freetype +FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 + +SLANG_CONFIGURE_ENABLE= slang +SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2 -NO_STAGE= yes .include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm .endif -.if ${PORT_OPTIONS:MFREETYPE} -LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 -.else -CONFIGURE_ARGS+=--disable-freetype -.endif - -.if ${PORT_OPTIONS:MSLANG} -LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 -.else -CONFIGURE_ARGS+=--disable-slang -.endif - post-patch: - @${REINPLACE_CMD} -e '/pkgdocdir/d' ${WRKSRC}/advance/advance.mak - -post-install: - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + @${REINPLACE_CMD} -E -e '/pkgdocdir/d' \ + -e 's,(bin|man|pkg)dir),DESTDIR)$$(&,' \ + ${WRKSRC}/advance/advance.mak .include Modified: head/emulators/advancemess/pkg-plist ============================================================================== --- head/emulators/advancemess/pkg-plist Wed Apr 9 12:16:29 2014 (r350682) +++ head/emulators/advancemess/pkg-plist Wed Apr 9 12:20:08 2014 (r350683) @@ -1,5 +1,6 @@ @exec for i in artwork crc image rom sample; do mkdir -p %D/%%DATADIR%%/${i}; done bin/advmess +man/man1/advmess.1.gz %%DATADIR%%/sysinfo.dat @dirrm %%DATADIR%%/sample @dirrm %%DATADIR%%/rom