2007-09-15 20:27:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2007/09/16 00:27:06 merdely Exp $
|
2001-05-05 18:09:19 -04:00
|
|
|
|
|
|
|
CATEGORIES= lang
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2007-09-15 20:27:05 -04:00
|
|
|
BROKEN= stat() API change
|
2001-05-05 18:09:19 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT=Polytechnique Montreal Modula-3
|
2001-05-05 18:09:19 -04:00
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
|
|
|
|
V=1.1.15
|
|
|
|
DISTNAME= pm3-$V
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2003-05-11 18:42:32 -04:00
|
|
|
DISTFILES= pm3-$V-src.tgz pm3-${V}a-OpenBSD_386-boot.tgz:1
|
2001-05-05 18:09:19 -04:00
|
|
|
PATCHFILES= pm3-$V-BSD.patch-v1.2.gz:0
|
|
|
|
|
|
|
|
EXTRACT_ONLY=pm3-$V-src.tgz
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://m3.polymtl.ca/pub/m3/targzip/
|
|
|
|
MASTER_SITES0= http://people.freebsd.org/~jdp/pm3-for-bsd/
|
2006-10-21 05:42:32 -04:00
|
|
|
MASTER_SITES1= http://sites.inka.de/~mips/unix/distfiles/
|
2001-05-05 18:09:19 -04:00
|
|
|
|
|
|
|
ALL_TARGET=exportall
|
|
|
|
|
|
|
|
HOMEPAGE= http://m3.polymtl.ca/m3/
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_MOTIF= any
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cd ${WRKDIST} && \
|
2003-05-11 18:42:32 -04:00
|
|
|
tar zxf ${FULLDISTDIR}/pm3-${V}a-OpenBSD_386-boot.tgz
|
2001-05-05 18:09:19 -04:00
|
|
|
|
|
|
|
PATCH_DIST_STRIP=-p1
|
|
|
|
|
|
|
|
WRKINST=${WRKDIST}/binaries/OpenBSD_386
|
|
|
|
|
|
|
|
do-install:
|
2003-08-21 10:46:52 -04:00
|
|
|
chown -R ${LIBOWN}:${LIBGRP} ${WRKINST}
|
2001-05-05 18:09:19 -04:00
|
|
|
-cd ${PREFIX}/pm3/bin && strip *
|
|
|
|
|
|
|
|
M3ARCH=OpenBSD_386
|
|
|
|
M3OPTIONS=-DPREFIX=${PREFIX} -DLOCALBASE=${LOCALBASE} -DX11BASE=${X11BASE}
|
|
|
|
MAKE_FLAGS=M3OPTIONS="${M3OPTIONS}"
|
|
|
|
SUBST_VARS=M3ARCH
|
|
|
|
|
2002-10-27 09:12:47 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-05-05 18:09:19 -04:00
|
|
|
.include <bsd.port.mk>
|