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


1.6
date	2012.11.17.05.58.58;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2011.05.02.12.44.42;	author makc;	state Exp;
branches;
next	1.4;

1.4
date	2011.04.24.20.27.08;	author makc;	state Exp;
branches;
next	1.3;

1.3
date	2007.05.19.20.13.58;	author flz;	state Exp;
branches;
next	1.2;

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

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


desc
@@


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

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

MAINTAINER=	coumarin@@gmail.com
COMMENT=	Excelsior Oberon-2/Modula-2 to C 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
USE_MOTIF=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
BUILD_WRKSRC=	${WRKSRC}/lib/C

MAKEFILE=	lib.mkf
ALL_TARGET=	#

SUB_FILES=	pkg-message

post-extract:
	@@${MV} ${WRKDIR}/xds ${WRKSRC}

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

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

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

do-install:
	@@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
	@@${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
	@@cd ${WRKSRC} && ${CHMOD} 755 bin/xm bin/h2d bin/xmwork bin/xdssamp samples/buildc
	@@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 xm xmwork
	@@${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.5
log
@Bump PORTREVISION after open-mofit update
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Utilize USE_MOTIF
Remove md5 sum

PR:		ports/156292
Approved by:	maintainer timeout (two weeks)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@a18 2
LIB_DEPENDS=	Xm:${PORTSDIR}/x11-toolkits/open-motif

d25 1
@


1.2
log
@- Do not echo post-build command.
- Show pkg-message in post-install target [1].
- Use shell globbing pattern in script patch.

PR:		ports/109295
Submitted by:	Alexander Shiryaev <coumarin@@gmail.com>
Forgotten by:	alepulver (myself) [1]
@
text
@d10 1
@


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

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

PR:		ports/108499
Submitted by:	coumarin at gmail.com
@
text
@d45 1
a45 1
	cd ${WRKSRC} && ${SETENV} PATH=${WRKSRC}/bin ./apisyms-c
d62 5
@

