From owner-freebsd-ports@freebsd.org Mon Feb 27 16:08:35 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D960FCF0241 for ; Mon, 27 Feb 2017 16:08:35 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from COL004-OMC3S11.hotmail.com (col004-omc3s11.hotmail.com [65.55.34.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A061A683 for ; Mon, 27 Feb 2017 16:08:35 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from EUR02-HE1-obe.outbound.protection.outlook.com ([65.55.34.135]) by COL004-OMC3S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 27 Feb 2017 08:07:29 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rCXly1tUDxFBsguN2784OtDJzIpAiRs4g1+kjAzZTnc=; b=EOPS/H1MZgdVwhW8sstrkZlzE3BExZn7C6Www6ZZN82F7sSJb5vYFhIxne/CkpQhtL+m+kts2hjZ3B7KIBtRbE8uMEgEmXTPlE2fFZWDbtWStigZiZaRKp+37+Dn1yFffSpqkIGDhYnpwJsfaTKw7kEufhP0xhKliCoyYbV7WPwgT0ss6WW7AaKlMOxg8AmNtDlbM5zWvcW/WdYoSZP0lASVsO9PQzbpyYna6SPq9cSvFG6Nzrwh1traT8P6sHUZua7FrBGjQXpPXYK9TXdOfj0MuyL3AycM+AWi2p0TECLmb/fj280EV7beUNyaPgrItz7saMW+I9rmId26wBzvTA== Received: from AM5EUR02FT003.eop-EUR02.prod.protection.outlook.com (10.152.8.54) by AM5EUR02HT148.eop-EUR02.prod.protection.outlook.com (10.152.9.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10; Mon, 27 Feb 2017 16:07:27 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com (10.152.8.52) by AM5EUR02FT003.mail.protection.outlook.com (10.152.8.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.11 via Frontend Transport; Mon, 27 Feb 2017 16:07:26 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com ([fe80::c189:25f5:7376:9b37]) by AM3PR02MB312.eurprd02.prod.outlook.com ([fe80::c189:25f5:7376:9b37%17]) with mapi id 15.01.0933.019; Mon, 27 Feb 2017 16:07:26 +0000 From: Andrew Hotlab To: "freebsd-ports@freebsd.org" Subject: [SOLVED] How to create a port only for specific FreeBSD releases Thread-Topic: [SOLVED] How to create a port only for specific FreeBSD releases Thread-Index: AQHSkQX3vdujGNqMykaWgGfpap0zU6F9FRtv Date: Mon, 27 Feb 2017 16:07:26 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:FC4BF77F86321E6DE2FBF8A55477ACDEC255AE9109B5DE7F171C18FC437C1D09; UpperCasedChecksum:5A11D38A1029FA67235C471B0E72F46FF398BD9381F5C901EAC5697BCC6EDEF0; SizeAsReceived:7870; Count:39 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [H+HgMqtlnsICfmdIIKdvKCoylX/PTZ6O] x-incomingheadercount: 39 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; AM5EUR02HT148; 5:9ZiBQ9Fud8uhEa/y+5TsbKEivFKz2bCLHFURWkTkzLU3f+c3PuaGTks/zwXbxirbTnDFwFvMaUAhkyFsTT2r0ze8PgMglSVme5c7QNXacagFPFYptil5c2Lx9J/5d1lxSxdxc34pkPPz0rAXRDTjsQ==; 24:1cX+wOprLEm4qLgd+kOyHyYG8SC+4Ki4Xjp+jCXqn5vLuM0hBZ9t7WUDez8tNq52hbNchgtoIbaAEZjssYPRxad+cDadeKkQreeZl35cfPk=; 7:QZRGqJt+TMkfkn8SWhGTt4wDWRARoCH3gZazY5DZKTpY8AaRDA3Lxbm/VDerOvHNCt0PgaZjt1mAY2v7BDGFlJOSRrq4a70Bs5+gyEcjpZ0HN0CBVMkJvNeZ8Hdwu0rJkowyPmhzdkFAiXIxOHdOsy681RtQcIb5CdEOqcrO6TckrhlKEjSCM/1Ky2irnvebFt1o2zzsNdWs0yADJMYLFOJBBTV5S10Ekp3wuVm3OZkCqsbT+qa3JLK4r1VWPLM21+qXfX6tcAtGPEKRM+B0f5yds3Nh8PCgMs0JRl5GZqYsf2mv/cq+MFYNmIn9rRTA x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900012); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5EUR02HT148; H:AM3PR02MB312.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 5876d172-4c1b-4b57-e550-08d45f2ab952 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(1601125254)(1603101448)(1701031045); SRVR:AM5EUR02HT148; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015087)(444000031); SRVR:AM5EUR02HT148; BCL:0; PCL:0; RULEID:; SRVR:AM5EUR02HT148; x-forefront-prvs: 02318D10FB spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2017 16:07:26.7159 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT148 X-OriginalArrivalTime: 27 Feb 2017 16:07:29.0354 (UTC) FILETIME=[9858FAA0:01D29113] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 16:08:35 -0000 > From: Andrew Hotlab > Sent: Monday, February 27, 2017 3:37 PM > To: freebsd-ports@freebsd.org > Subject: How to create a port only for specific FreeBSD releases =A0 =20 > Hi to all, I'm trying to make a port which installs only a couple of simp= le scripts > (thus NO_BUILD,=A0NO_ARCH, and void MASTER_SITES and DISTFILES...). >=20 > Since these scripts are designed=A0to run on FreeBSD 10.0 and newer, I'd = like to > know if there is a way to prevent the port from installing on older FreeB= SD > releases. In the Porter's Handbook I found this paragraph, but it seems r= egarding > only ported app's=A0source code: > https://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.ht= ml Sorry, just found by myself. I included these lines before the do-install s= ection: .include .if ${OSVERSION} < 1000100 IGNORE=3D runs only on FreeBSD 10.0 and newer .endif