From owner-svn-ports-head@FreeBSD.ORG Thu Apr 10 07:31:54 2014 Return-Path: Delivered-To: svn-ports-head@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 BF34F625; Thu, 10 Apr 2014 07:31:54 +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 924D91DB8; Thu, 10 Apr 2014 07:31:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3A7Vsp8001012; Thu, 10 Apr 2014 07:31:54 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3A7VsTb001011; Thu, 10 Apr 2014 07:31:54 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404100731.s3A7VsTb001011@svn.freebsd.org> From: Pawel Pekala Date: Thu, 10 Apr 2014 07:31:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350784 - head/emulators/quasi88 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 07:31:54 -0000 Author: pawel Date: Thu Apr 10 07:31:54 2014 New Revision: 350784 URL: http://svnweb.freebsd.org/changeset/ports/350784 QAT: https://qat.redports.org/buildarchive/r350784/ Log: - Add staging support - Convert to new options framework, USES=gmake Modified: head/emulators/quasi88/Makefile Modified: head/emulators/quasi88/Makefile ============================================================================== --- head/emulators/quasi88/Makefile Thu Apr 10 07:27:35 2014 (r350783) +++ head/emulators/quasi88/Makefile Thu Apr 10 07:31:54 2014 (r350784) @@ -12,25 +12,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= PC-8801 emulator for X USE_XORG= x11 xext -USE_GMAKE= yes +USES= gmake MAKE_ENV= DATADIR="${DATADIR}" _CC="${CC}" _CFLAGS="${CFLAGS}" \ _CXX="${CXX}" LD="${CXX}" PROGRAM="${PORTNAME}" MAKE_ARGS= ARCH="freebsd" PORTDOCS= FAQ.TXT FORMAT.TXT GET-IMAGE.TXT HISTORY.TXT MANUAL.TXT \ QUASI88.TXT -PLIST_FILES= bin/quasi88 %%EXAMPLESDIR%%/keyconf.rc \ - %%EXAMPLESDIR%%/quasi88.rc -PLIST_DIRS= %%EXAMPLESDIR%% +PORTEXAMPLES= * +PLIST_FILES= bin/quasi88 -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES SDL + +.include .if ${ARCH} == "i386" MAKE_ENV+= LSB_FIRST=1 .endif -.if defined(WITH_SDL) +.if ${PORT_OPTIONS:MSDL} USE_SDL= sdl MAKE_ENV+= SDL_VERSION=1 JOYSTICK="joy_sdl" .else @@ -52,14 +52,11 @@ post-patch: s|^PROGRAM|# PROGRAM|g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${PREFIX}/bin - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/*.rc ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/document/${file} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/*.rc ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/document && ${INSTALL_DATA} ${PORTDOCS} \ + ${STAGEDIR}${DOCSDIR}) -.include +.include