head	1.17;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.15
	RELEASE_6_4_0:1.15
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.12
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.10
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.05.58.48;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2011.11.16.16.12.24;	author miwi;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.09.20.52.12;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2005.10.06.10.55.10;	author vs;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.07.07.34.22;	author adamw;	state Exp;
branches;
next	1.12;

1.12
date	2003.03.17.05.39.01;	author adamw;	state Exp;
branches;
next	1.11;

1.11
date	2003.03.07.06.05.29;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2002.12.14.21.31.55;	author adamw;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.10.16.46.49;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2002.11.06.22.45.47;	author adamw;	state Exp;
branches;
next	1.7;

1.7
date	2002.11.04.01.10.00;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.18.07.57.49;	author adamw;	state Exp;
branches;
next	1.5;

1.5
date	2002.08.26.00.28.22;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.11.13.57.04;	author will;	state Exp;
branches;
next	1.3;

1.3
date	2002.06.07.11.01.47;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.16.19.29.10;	author sada;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.22.14.06.02;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:	dice
# Date created:		Wed Jan 30 13:26:52 CET 2002
# Whom:			Miguel Mendez <flynn@@energyhq.homeip.net>
#
# $FreeBSD: head/lang/dice/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	dice
PORTVERSION=	3.15
PORTREVISION=	1
CATEGORIES=	lang devel
MASTER_SITES=	http://www.obviously.com/dice/
DISTNAME=	${PORTNAME}-rel-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	DICE - The Amiga/embedded/generic 68000 C compiler

post-patch:
		@@for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \
			${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \
			${WRKSRC}/src/dlink/main.c; \
		do \
			${REINPLACE_CMD} -e 's@@/home/dice@@${PREFIX}/share/dice@@g' $$i; \
		done

		@@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
			${REINPLACE_CMD} -e 's@@__aligned@@dice_aligned@@g'

		@@${REINPLACE_CMD} -e 's/gcc/$$(CC)/' \
			-e '/^CFLAGS/{s/=/+=/;s/-O2//;}' \
			${WRKSRC}/suplib/Makefile \
			${WRKSRC}/src/*/Makefile

do-build:
		cd ${WRKSRC}/suplib && ${MAKE} && ${MAKE_ENV} ${MAKE} install
		cd ${WRKSRC}/src && ${MAKE} && ${MAKE_ENV} ${MAKE} install

do-install:
		@@${RM} ${WRKSRC}/doc/loadabs.c.bak
		@@for i in ${WRKSRC}/ubin/*; \
		do \
			${INSTALL_PROGRAM} $$i ${PREFIX}/bin; \
		done

		@@${MKDIR} ${PREFIX}/share/dice/config
		@@for i in ${WRKSRC}/config/* ; \
		do \
			${INSTALL_DATA} $$i ${PREFIX}/share/dice/config; \
		done

.if !defined(NOPORTDOCS)
		@@${MKDIR} ${DOCSDIR}
		@@for i in ${WRKSRC}/doc/* ; \
		do \
			${INSTALL_DATA} $$i ${DOCSDIR}; \
		done
.endif

.include <bsd.port.mk>
@


1.16
log
@- Unbreak build

PR:		162535
Submitted by:	Jan Beich <jbeich@@tormail.net>
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d30 5
d36 2
a37 2
		cd ${WRKSRC}/suplib && ${MAKE} && ${MAKE} install
		cd ${WRKSRC}/src && ${MAKE} && ${MAKE} install
@


1.14
log
@Use do-build: instead of separate Makefile
@
text
@a18 2
USE_REINPLACE=	yes

@


1.13
log
@Release maintainership.
@
text
@a28 2
		@@${CP} ${FILESDIR}/Makefile ${WRKSRC}

d32 4
@


1.12
log
@loadabs.c.bak gets created, for some reason, as part of the build process,
and never gets deleted. Let's ${RM} this file before installing the port.

Noticed by:	kris
Approved by:	kris (portmgr)
@
text
@d16 1
a16 1
MAINTAINER=	adamw@@FreeBSD.org
@


1.11
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d35 1
@


1.10
log
@Fix build on -current.

Noticed by:	bento
PR:		45675
Submitted by:	Stefan Farfeleder <e0026813@@stud3.tuwien.ac.at>
Approved by:	kris
@
text
@d17 1
@


1.9
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d30 3
@


1.8
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a17 2
PORTCOMMENT=	DICE - The Amiga/embedded/generic 68000 C compiler

@


1.7
log
@PERL -> REINPLACE
Noticed by: bento
@
text
@d18 2
@


1.6
log
@Change maintainership on all my ports.
adam@@vectors.cx -> adam@@FreeBSD.org

Approved by:	pat (mentor)
@
text
@d18 2
d25 1
a25 1
			${PERL} -pi -e 's@@/home/dice@@${PREFIX}/share/dice@@g' $$i; \
@


1.5
log
@Turn Miguel Mendez' ports over to Adam Weinberger.

PR:	42012
@
text
@d16 1
a16 1
MAINTAINER=	adam@@vectors.cx
@


1.4
log
@Miguel Mendez informed me in private e-mail that he has changed his mind
and would like to maintain these ports again.  Welcome back, Miguel.  :-)
@
text
@d16 1
a16 1
MAINTAINER=	flynn@@energyhq.homeip.net
@


1.3
log
@Set Miguel Mendez' ports loose.  Look out, world!

I would like to try maintaining the acroread5 one, so I pre-snarfed
it.  :-P

PR:		38978
Submitted by:	Miguel Mendez (outgoing maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.2
log
@- reflect PREFIX variable.
- install some config files.
- enable NOPORTDOCS option.
PR:	ports/36856
Submitted by:	maintainer
@
text
@d16 1
a16 1
MAINTAINER=	flynn@@energyhq.homeip.net
@


1.1
log
@flynn@@energyhq.homeip.net wrote:
Dice is Matt Dillon's (yes, our FreeBSD guru :) portable 68000 C
Compiler. Found it odd that there's not a port for this, considering that the
author of the compiler is a FreeBSD commiter.

PR:		34449
Submitted by:	flynn@@energyhq.homeip.net
@
text
@d10 1
d19 7
d34 6
d41 1
a41 1
		@@${MKDIR} ${PREFIX}/share/doc/dice
d44 1
a44 1
			${INSTALL_DATA} $$i ${PREFIX}/share/doc/dice; \
@

