head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.20
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.18
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.16
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.14
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.12
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.10
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.8
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.6
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.4
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.2
	pkgsrc-2023Q4-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2023.10.11.13.29.17;	author bouyer;	state Exp;
branches;
next	;
commitid	ugtvsyYJd0FO8dIE;


desc
@@


1.1
log
@Add swt version 4.21

SWT is the software component that delivers native widget functionality
for the Eclipse platform in an operating system independent manner.

This package provides SWT without requiring a full download and build of
Eclipse.
@
text
@<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2009 IBM Corporation and others.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html
   
    Contributors:
        IBM Corporation - initial API and implementation
 -->
<project name="org.eclipse.swt.gtk.netbsd.x86_64" default="build.jar" basedir=".">

	<target name="init">
		<property name="ws" value="gtk"/>
		<property name="os" value="netbsd"/>
		<property name="destination" value="${basedir}"/>
                <property name="javac.verbose" value="false"/>
                <property name="javac.debug" value="off"/>
		<property name="input.srcdir" value="${basedir}/org"/>
		<property name="output.jar" value="${basedir}/swt.jar"/>
		<property name="output.classes" value="${basedir}/classes"/>
	</target>

	<target name="all" depends="build.jar"/>

	<target name="build.classes" depends="init">
		<mkdir dir="${output.classes}"/>
		<!-- -source & -target taken from Eclipse 32M4 CVS build -->
		<javac	srcdir="${input.srcdir}" destdir="${output.classes}" 
			debug="${javac.debug}" verbose="${javac.verbose}" 
			source="1.8" target="1.8">
		</javac>
	</target>

	<target name="build.jar" depends="build.nativeLibraries">
		<jar destfile="${output.jar}" index="false">
			<fileset dir="${output.classes}">
				<exclude name="**/*.java"/>
				<exclude name="**/*.o"/>
				<exclude name="**/*.so"/>
			</fileset>
			<fileset dir="${basedir}">
				<include name="**/version.txt"/>
				<include name="**/*.properties"/>
				<include name="**/*.css"/>
			</fileset>
		</jar>
	</target>

	<target name="clean" depends="init">
		<delete dir="${output.classes}"/>
		<delete file="${output.jar}"/>
		<exec  executable="sh" failonerror="true">
			<arg value="build.sh"/>
			<arg value="clean"/>
		</exec>
	</target>

	<target name="build.nativeLibraries" depends="build.classes">
		<exec  executable="sh" failonerror="true">
			<arg value="build.sh"/>
		</exec>
	</target>

</project>
@
