# $OpenBSD: Makefile,v 1.1.1.1 2002/02/23 12:30:08 naddy Exp $ ONLY_FOR_ARCHS= i386 COMMENT= "Modula-3 distribution for building CVSup" DISTNAME= ezm3-1.0 CATEGORIES= lang NEED_VERSION= 1.504 HOMEPAGE= http://www.polstra.com/projects/freeware/ezm3/ MAINTAINER= Christian Weisgerber PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.nectec.or.th/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.dnsbalance.ring.gr.jp/pub/FreeBSD/%SUBDIR%/ MASTER_SITE_SUBDIR= development/CVSup/ezm3 DISTFILES= ${DISTNAME}-${M3ARCH}-boot.tar.bz2 \ ${DISTNAME}-src.tar.bz2 USE_X11= Yes USE_GMAKE= Yes ALL_TARGET= exportall M3ARCH= OpenBSD_386 M3OPTIONS= -DPREFIX=${PREFIX} -DX11BASE=${X11BASE}/lib \ -DBUILD_ALL -DSHIP_ALL M3WORDSIZE= 32 MAKE_FLAGS= M3OPTIONS="${M3OPTIONS}" SUBST_VARS= M3ARCH M3WORDSIZE WRKINST= ${WRKDIST}/binaries/${M3ARCH} post-patch: cp ${FILESDIR}/OpenBSD ${WRKSRC}/m3config/src do-install: chown -R ${BINOWN}:${BINGRP} ${WRKINST} cd ${PREFIX} && \ strip bin/m3build bin/m3bundle bin/m3ship lib/m3/${M3ARCH}/m3cgc1 ${INSTALL_DATA_DIR} ${PREFIX}/share/ezm3 ${INSTALL_DATA} ${WRKSRC}/src/COPYRIGHT ${PREFIX}/share/ezm3 NO_REGRESS= Yes .include