openbsd-ports/lang/ezm3/Makefile
2002-05-13 12:23:49 +00:00

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2002/05/13 12:23:49 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 <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/ \
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ \
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ \
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ \
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ \
ftp://ftp.nectec.or.th/pub/FreeBSD/ \
ftp://ftp.dnsbalance.ring.gr.jp/pub/FreeBSD/
MASTER_SITES:= ${MASTER_SITES:=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 <bsd.port.mk>