From owner-svn-ports-head@freebsd.org Wed Oct 2 18:27:15 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EFB213607F; Wed, 2 Oct 2019 18:27:15 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46k4Nz179kz3KP3; Wed, 2 Oct 2019 18:27:15 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A0CD2F894; Wed, 2 Oct 2019 18:27:15 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x92IREpk027447; Wed, 2 Oct 2019 18:27:14 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x92IRE5E027446; Wed, 2 Oct 2019 18:27:14 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201910021827.x92IRE5E027446@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 2 Oct 2019 18:27:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513595 - head/audio/fasttracker2 X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/audio/fasttracker2 X-SVN-Commit-Revision: 513595 X-SVN-Commit-Repository: ports 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.29 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: Wed, 02 Oct 2019 18:27:15 -0000 Author: ehaupt Date: Wed Oct 2 18:27:14 2019 New Revision: 513595 URL: https://svnweb.freebsd.org/changeset/ports/513595 Log: Drop the custom build target by using cmake. This allows to further simplify the port. Reported by: fox Modified: head/audio/fasttracker2/Makefile Modified: head/audio/fasttracker2/Makefile ============================================================================== --- head/audio/fasttracker2/Makefile Wed Oct 2 18:21:18 2019 (r513594) +++ head/audio/fasttracker2/Makefile Wed Oct 2 18:27:14 2019 (r513595) @@ -4,6 +4,7 @@ PORTNAME= fasttracker2 DISTVERSIONPREFIX= v DISTVERSION= 1.00 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://16-bits.org/ \ LOCAL/ehaupt @@ -18,7 +19,7 @@ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt -USES= compiler dos2unix iconv:wchar_t localbase:ldflags sdl zip +USES= cmake dos2unix iconv:wchar_t localbase:ldflags sdl zip USE_SDL= sdl2 WRKSRC= ${WRKDIR}/ft2-clone-code @@ -41,25 +42,11 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound -CFLAGS_i386+= -msse2 - -.include - -# clang reports: -# error: invalid argument '-std=c99' not allowed with 'C++' -.if ${CHOSEN_COMPILER_TYPE} == gcc -USE_CSTD= c99 -.endif - -do-build: - ${CC} ${CFLAGS} ${LDFLAGS} \ - ${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \ - -o ${WRKSRC}/${PORTNAME} - do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps -.include +.include