head	1.3;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.05.58.58;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2007.02.18.23.25.36;	author alepulver;	state Exp;
branches;
next	1.1;

1.1
date	2007.02.17.03.31.07;	author alepulver;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# New ports collection makefile for:	xds
# Date created:		29 January 2007
# Whom:			coumarin@@gmail.com
#
# $FreeBSD: head/lang/xds/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	xds
PORTVERSION=	2.51
CATEGORIES=	lang linux devel
MASTER_SITES=	http://www.excelsior-usa.com/download/xds25x/
DISTNAME=	${PORTNAME}-x86-${PORTVERSION:S/.//}-enduser-linux
EXTRACT_SUFX=	.tgz

MAINTAINER=	coumarin@@gmail.com
COMMENT=	Excelsior Oberon-2/Modula-2 compiler, set up to produce native FreeBSD binaries

RESTRICTED=	Excelsior forbids any redistribution

ONLY_FOR_ARCHS=	i386
ONLY_FOR_ARCHS_REASON=	uses assembly code
USE_LINUX=	yes
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
BUILD_WRKSRC=	${WRKSRC}/lib/x86

MAKEFILE=	lib.mkf
ALL_TARGET=	#

SUB_FILES=	pkg-message

pre-patch:
	@@${BRANDELF} -t Linux ${WRKSRC}/bin/xc ${WRKSRC}/bin/h2d

post-patch:
	@@${REINPLACE_CMD} -e "s|%%XDSDIR%%|${PREFIX}/${PORTNAME}|g" \
		${WRKSRC}/bin/xcwork

post-build:
	@@cd ${WRKSRC} && ${SETENV} PATH=${WRKSRC}/bin ./apisyms-x86

do-install:
	@@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
	@@${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
	@@cd ${WRKSRC} && ${CHMOD} 755 bin/xc bin/h2d bin/xcwork samples/buildx86
	@@cd ${WRKDIR} && ${CAT} ${FILESDIR}/plist | \
	    ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${PREFIX}
.if !defined(NOPORTDOCS)
	@@cd ${WRKDIR} && ${CAT} ${FILESDIR}/plist-doc | \
	    ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${PREFIX}
.endif
.for f in xc xcwork
	@@${LN} -s ${PREFIX}/${PORTNAME}/bin/${f} ${PREFIX}/bin
.endfor
	@@${LN} -s ${PREFIX}/${PORTNAME}/bin/h2d ${PREFIX}/bin/${PORTNAME}-h2d

post-install:
	@@${ECHO_CMD}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_CMD}

.include <bsd.port.mk>
@


1.2
log
@- Do not echo post-build command.
- Fix names of binaries displayed in pkg-message (my fault).

PR:		ports/109294
Submitted by:	Alexander Shiryaev <coumarin@@gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.1
log
@This is Native XDS-x86 for Linux,
it is setup to produce native FreeBSD binaries.

WWW: http://www.excelsior-usa.com/

PR:		ports/108498
Submitted by:	coumarin at gmail.com
@
text
@d40 1
a40 1
	cd ${WRKSRC} && ${SETENV} PATH=${WRKSRC}/bin ./apisyms-x86
@

