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


1.8
date	2012.11.17.05.58.53;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2008.04.19.17.51.31;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2008.03.23.23.03.10;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2007.05.19.20.13.47;	author flz;	state Exp;
branches;
next	1.4;

1.4
date	2007.03.23.00.50.26;	author alepulver;	state Exp;
branches;
next	1.3;

1.3
date	2007.02.09.14.53.32;	author alepulver;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:	mpd
# Date Created:	2007-02-05
# Whom:		Kai Wang <kaiw27@@gmail.com>
#
# $FreeBSD: head/lang/mpd/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	mpd
PORTVERSION=	1.0.1
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://www.cs.arizona.edu/mpd/download/ \
		http://crypto.riken.go.jp/pub/NetBSD/packages/distfiles/mpd-language/
DISTNAME=	${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	kaiw27@@gmail.com
COMMENT=	A concurrent programming language

ONLY_FOR_ARCHS=	alpha i386
ONLY_FOR_ARCHS_REASON=	uses assembly code for the target machine

# net/mpd
CONFLICTS=	mpd-[^1]*
NO_LATEST_LINK=	yes

USE_GMAKE=	yes

OPTIONS=	X11 "Enable X11 support" on

MAN1=		mpd.1 mpdl.1 mpdm.1 mpdprof.1
MAN3=		mpdanimator.3 mpdgetopt.3 mpdwin.3
MAN5=		mpdmap.5 mpdtrace.5

.include <bsd.port.pre.mk>

.if defined(WITHOUT_X11)
PLIST_SUB+=	X11="@@comment "
.else
PLIST_SUB+=	X11=""
USE_XORG=	x11
.endif

post-patch:
	@@${REINPLACE_CMD} -Ee \
		"s%^(CCPATH =) .*%\1 `${WHICH} ${CC}`%; \
		 s%^(MPDSRC =) .*%\1 ${WRKSRC}%; \
		 s%^((MPD(CMD|LIB)|MAN[135]) =) /usr/local%\1 ${PREFIX}%" \
		 ${WRKSRC}/Configuration
.if !defined(WITHOUT_X11)
	@@${REINPLACE_CMD} -Ee 's%^(XINCL =) .*%\1 ${LOCALBASE}/include%' \
		${WRKSRC}/Configuration
.else
	@@${REINPLACE_CMD} -Ee 's%^(XINCL =) .*%\1%' ${WRKSRC}/Configuration
.endif

pre-install:
	@@${MKDIR} ${PREFIX}/lib/mpd

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
	@@${MKDIR} ${EXAMPLESDIR}
	@@${CP} -pR ${WRKSRC}/vsuite/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>
@


1.7
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d51 1
a51 1
	@@${REINPLACE_CMD} -Ee 's%^(XINCL =) .*%\1 ${X11BASE}/include%' \
@


1.5
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	1
d41 1
a41 1
USE_XLIB=	yes
@


1.4
log
@- Respect X11BASE.

Reported by:	linimon
@
text
@d10 1
@


1.3
log
@- Add CONFLICTS between net/mpd and lang/mpd.

Reported by:	"Daniel O'Connor" <doconnor@@gsoft.com.au>
@
text
@d49 4
a52 1
.if defined(WITHOUT_X11)
@


1.2
log
@- Add NO_LATEST_LINK to avoid it being the same as in net/mpd.
@
text
@d23 1
@


1.1
log
@MPD is a new programming language that has a syntax very close to the
one used in the book Foundations of Multithreaded, Parallel, and
Distributed Programming. The name of the language comes from the first
three letters of the main words of the title of the book:
Multithreaded, Parallel, and Distributed. These words also capture a
distinguishing aspect of the language, namely that it supports all
three of these concurrent programming techniques.

MPD is implemented as a variant of the SR programming language. It has
a different parser, but it uses the same intermediate form and
run-time system as SR. Consequently, MPD provides the same variety of
concurrent programming mechanisms as does SR.

WWW: http://www.cs.arizona.edu/mpd/

PR:		ports/108806
Submitted by:	Kai Wang <kaiw27 at gmail.com>
@
text
@d22 3
@

