head	1.36;
access;
symbols
	RELEASE_8_3_0:1.35
	RELEASE_9_0_0:1.35
	RELEASE_7_4_0:1.34
	RELEASE_8_2_0:1.34
	RELEASE_6_EOL:1.34
	RELEASE_8_1_0:1.34
	RELEASE_7_3_0:1.34
	RELEASE_8_0_0:1.34
	RELEASE_7_2_0:1.33
	RELEASE_7_1_0:1.33
	RELEASE_6_4_0:1.33
	RELEASE_5_EOL:1.33
	RELEASE_7_0_0:1.32
	RELEASE_6_3_0:1.32
	PRE_XORG_7:1.31
	RELEASE_4_EOL:1.31
	RELEASE_6_2_0:1.30
	RELEASE_6_1_0:1.29
	RELEASE_5_5_0:1.29
	RELEASE_6_0_0:1.27
	RELEASE_5_4_0:1.27
	RELEASE_4_11_0:1.27
	RELEASE_5_3_0:1.27
	RELEASE_4_10_0:1.27
	RELEASE_5_2_1:1.27
	RELEASE_5_2_0:1.27
	RELEASE_4_9_0:1.27
	RELEASE_5_1_0:1.27
	RELEASE_4_8_0:1.27
	RELEASE_5_0_0:1.25
	RELEASE_4_7_0:1.23
	RELEASE_4_6_2:1.20
	RELEASE_4_6_1:1.20
	RELEASE_4_6_0:1.20
	RELEASE_5_0_DP1:1.20
	RELEASE_4_5_0:1.20
	RELEASE_4_4_0:1.19
	RELEASE_4_3_0:1.19
	RELEASE_4_2_0:1.18
	RELEASE_4_1_1:1.18
	RELEASE_4_1_0:1.18
	RELEASE_3_5_0:1.18
	RELEASE_4_0_0:1.17
	RELEASE_3_4_0:1.16
	RELEASE_3_3_0:1.16
	RELEASE_3_2_0:1.12
	RELEASE_3_1_0:1.12
	RELEASE_2_2_8:1.12
	RELEASE_3_0_0:1.12
	RELEASE_2_2_7:1.12
	RELEASE_2_2_6:1.12
	RELEASE_2_2_5:1.8
	RELEASE_2_2_1:1.8
	RELEASE_2_2_2:1.8
	icon9_0:1.1.1.1
	icon:1.1.1;
locks; strict;
comment	@# @;


1.36
date	2012.11.17.05.58.51;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2011.08.16.21.57.06;	author zi;	state Exp;
branches;
next	1.34;

1.34
date	2009.08.12.14.55.16;	author amdmi3;	state Exp;
branches;
next	1.33;

1.33
date	2008.04.19.17.51.29;	author miwi;	state Exp;
branches;
next	1.32;

1.32
date	2007.05.19.20.13.40;	author flz;	state Exp;
branches;
next	1.31;

1.31
date	2006.12.19.20.16.01;	author tobez;	state Exp;
branches;
next	1.30;

1.30
date	2006.05.09.20.52.15;	author edwin;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.20.11.03.51;	author arved;	state Exp;
branches;
next	1.28;

1.28
date	2005.12.04.14.58.26;	author thierry;	state Exp;
branches;
next	1.27;

1.27
date	2003.02.20.18.37.58;	author knu;	state Exp;
branches;
next	1.26;

1.26
date	2003.01.27.12.50.15;	author knu;	state Exp;
branches;
next	1.25;

1.25
date	2002.11.10.16.46.51;	author lioux;	state Exp;
branches;
next	1.24;

1.24
date	2002.11.06.22.45.49;	author adamw;	state Exp;
branches;
next	1.23;

1.23
date	2002.09.18.11.19.32;	author tg;	state Exp;
branches;
next	1.22;

1.22
date	2002.09.16.12.05.28;	author tg;	state Exp;
branches;
next	1.21;

1.21
date	2002.09.01.16.07.50;	author dwcjr;	state Exp;
branches;
next	1.20;

1.20
date	2001.09.22.06.07.41;	author sf;	state Exp;
branches;
next	1.19;

1.19
date	2001.01.16.17.31.11;	author sobomax;	state Exp;
branches;
next	1.18;

1.18
date	2000.04.12.06.18.58;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.14.17.09.01;	author imura;	state Exp;
branches;
next	1.16;

1.16
date	99.08.31.06.46.47;	author mharo;	state Exp;
branches;
next	1.15;

1.15
date	99.08.28.16.36.05;	author cpiazza;	state Exp;
branches;
next	1.14;

1.14
date	99.08.25.06.34.45;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	99.07.04.21.03.59;	author steve;	state Exp;
branches;
next	1.12;

1.12
date	98.02.20.12.19.36;	author tg;	state Exp;
branches;
next	1.11;

1.11
date	98.01.20.09.37.40;	author tg;	state Exp;
branches;
next	1.10;

1.10
date	97.11.04.04.12.09;	author asami;	state Exp;
branches;
next	1.9;

1.9
date	97.10.31.21.54.47;	author jseger;	state Exp;
branches;
next	1.8;

1.8
date	97.02.12.08.39.15;	author tg;	state Exp;
branches;
next	1.7;

1.7
date	96.11.15.19.16.25;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	96.11.12.02.18.28;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	96.11.05.08.33.57;	author tg;	state Exp;
branches;
next	1.4;

1.4
date	95.11.22.13.12.50;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	95.07.29.09.54.58;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	95.04.15.05.44.38;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	95.04.06.08.52.41;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.04.06.08.52.41;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Switch exporter over
@
text
@# New ports collection makefile for:    icon
# Date created:         05 April 1995
# Whom:                 Thomas Gellekum <tg@@FreeBSD.org>
#
# $FreeBSD: head/lang/icon/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	icon
PORTVERSION=	9.5.0
CATEGORIES=	lang
MASTER_SITES=	http://www.cs.arizona.edu/icon/ftp/packages/unix/
DISTNAME=	${PORTNAME}-v${PORTVERSION:S/.//g}src
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	The Icon programming language

ALL_TARGET=	All
MAKE_JOBS_UNSAFE=	yes

.if ${CC} == "clang" || ${CXX} == "clang++"
BROKEN=		does not pass all tests when compiled with clang
.endif

MAN1=		icon.1 icont.1

ARCH_NAME=	bsd
ICONDIR=	${PREFIX}/lib/${PORTNAME}

BINS=		icont iconx
BINXS=		colrbook colrpick fontpick palette vib wevents xgamma

.if defined(WITHOUT_X11)
CONFIG_CMD=	Configure
PLIST_SUB=	WITHOUT_X11="@@comment "
.else
USE_XORG=	x11 xpm
CFLAGS+=	-I${LOCALBASE}/include
CONFIG_CMD=	X-Configure
PLIST_SUB=	WITHOUT_X11=
.endif

post-patch:
	@@${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \
		 s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \
		 s|/usr/X11R6|${LOCALBASE}|g ; \
		 s|-lpthread|${PTHREAD_LIBS}| ; \
		 s|^XLIBS.*|XLIBS=-L${LOCALBASE}/lib -lX11|g" \
		${WRKSRC}/config/${ARCH_NAME}/Makedefs
	@@${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin
	@@${REINPLACE_CMD} -e 's|ld -Bshareable|\$$CC -shared|g ; \
		 s|-lc||g' ${WRKSRC}/ipl/cfuncs/mklib.sh

do-configure:
	@@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
		${MAKEFILE} ${MAKE_ARGS} ${CONFIG_CMD} name=${ARCH_NAME})

do-install:
	${INSTALL_MAN} ${WRKSRC}/man/man1/icon.1 ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${MANPREFIX}/man/man1
	@@${MKDIR} ${ICONDIR}/bin
.for file in ${BINS}
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${ICONDIR}/bin/${file}
.endfor
.for file in icont iconx
	@@${LN} -sf ${ICONDIR}/bin/${file} ${PREFIX}/bin/${file}
.endfor
	@@${LN} -sf ${ICONDIR}/bin/icont ${PREFIX}/bin/icon
	@@${MKDIR} ${ICONDIR}/lib
	cd ${WRKSRC}/lib; ${INSTALL_DATA} *.* ${ICONDIR}/lib
.if !defined(WITHOUT_X11)
.for file in ${BINXS}
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${ICONDIR}/bin/${file}
.endfor
	@@${LN} -sf ${ICONDIR}/bin/vib ${PREFIX}/bin/vib
.endif
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc; ${INSTALL_DATA} *.* ${DOCSDIR}
.endif

.if defined(MAINTAINER_MODE)
test:	install
	(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
		${MAKEFILE} ${MAKE_ARGS} Test)
.endif

.include <bsd.port.mk>
@


1.35
log
@Update to 9.5.0
Mark BROKEN when building with clang

PR:		ports/158421
Submitted by:	Niclas Zeising <niclas.zeising@@gmail.com>
Approved by:	wxs (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.34
log
@- Mark MAKE_JOBS_UNSAFE (when forced jobs, fails with "cd: can't cd to src/rtt")
@
text
@d9 1
a9 2
PORTVERSION=	9.4.3
PORTREVISION=	3
d12 1
a12 1
DISTNAME=	${PORTNAME}.v${PORTVERSION:S/.//g}src
d21 4
d30 1
a30 1
BINS=		icont iconx rtt
@


1.33
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
@d20 1
@


1.32
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=	2
d33 2
a34 2
USE_XLIB=	yes
CFLAGS+=	-I${X11BASE}/include
d42 1
a42 1
		 s|/usr/X11R6|${X11BASE}|g ; \
d44 1
a44 1
		 s|^XLIBS.*|XLIBS=-L${X11BASE}/lib -lX11|g" \
@


1.31
log
@Install bin/icon, the Icon `interpreter', and its manpage.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.30
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d10 1
d21 1
a21 1
MAN1=		icont.1
d55 1
d64 1
@


1.29
log
@Remove ONLY_FOR_ARCHS.

Reported by:	Paul Scherf on freebsd-ports
Tested on:	amd64 and sparc64
@
text
@a17 1
USE_REINPLACE=	yes
@


1.28
log
@- Upgrade to 9.4.3;

Changelog at <http://www.cs.arizona.edu/icon/v943/relnotes.htm>.

- Add a test target.

Note: this port is marked only for alpha and i386, but it should work on
other archs - anyone to test it?
@
text
@a17 2
ONLY_FOR_ARCHS=	alpha i386

@


1.27
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	9.4.1
d25 1
a25 1
ARCH_NAME=	${OPSYS:L}
d28 3
d44 2
d47 1
a47 1
		${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs
d59 1
a59 1
.for file in icont iconx patchstr
d68 1
a68 1
.for file in colrbook colrpick fontpick ipatch palette vib wevents xgamma
d78 6
@


1.26
log
@Update to 9.4.1.

PR:		ports/47329
Submitted by:	Ports Fury
@
text
@d16 1
@


1.25
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
@d9 1
a9 1
PORTVERSION=	9.4.0
d19 9
a27 1
.ifdef WITHOUT_X11
a35 7
USE_REINPLACE=	yes
ALL_TARGET=	All

MAN1=		icont.1

ARCH_NAME=	${ARCH:S/i386/intel/}_${OPSYS:L}
ICONDIR=	${PREFIX}/lib/${PORTNAME}
d37 1
a37 1
pre-patch:
d43 2
d51 1
a51 1
	${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${PREFIX}/man/man1
d54 1
a54 5
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${ICONDIR}/bin
.endfor
.ifndef WITHOUT_X11
.for file in colrbook colrpick fontpick ipatch palette vib wevents xgamma
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${ICONDIR}/bin
a55 1
.endif
d59 6
a64 1
.ifndef WITHOUT_X11
a66 2
	@@${MKDIR} ${ICONDIR}/lib
	${INSTALL_DATA} ${WRKSRC}/lib/*.* ${ICONDIR}/lib
d69 1
a69 1
	${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
@


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

Approved by:	pat
@
text
@a16 2
PORTCOMMENT=	The Icon programming language

@


1.23
log
@Don't use MAKE_ARGS to proliferate CFLAGS as setting CFLAGS in
/etc/make.conf will gladly overwrite the value in MAKE_ARGS. Patch
Makedefs (in the Icon source) instead.

PR:		38322
@
text
@d17 2
@


1.22
log
@Add WITHOUT_X11 knob.

PR:		42608
Submitted by:	Joe Kelsey <joek@@mail.flyingcroc.net>
@
text
@a19 1
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
d24 1
a24 2
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -I${X11BASE}/include" \
		XLIBS="-L${X11BASE}/lib -lX11"
d37 4
a40 3
	@@${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
		 s|^CFLAGS|#CFLAGS|g ; \
		 s|^XLIBS|#XLIBS|g' ${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs
@


1.21
log
@${PERL} -> ${REINPLACE_CMD}

PR:		40784
Submitted by:	corecode@@corecode.ath.cx
Reviewed by:	flynn@@energyhq.homeip.net
@
text
@d19 5
a24 1
USE_REINPLACE=	yes
d27 4
d46 1
a46 1
		${MAKEFILE} ${MAKE_ARGS} X-Configure name=${ARCH_NAME})
d54 1
d58 2
a59 1
.for file in icont iconx vib
d62 3
@


1.20
log
@o update to 0.4.0.
o support NOPORTDOCS.
o aupport Alpha arch.

PR:		30719
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.19 2001/01/16 17:31:11 sobomax Exp $
d20 1
d31 1
a31 1
	@@${PERL} -pi -e 's|^CC|#CC|g ; \
d34 1
a34 1
	@@${PERL} -pi -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin
@


1.19
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.18 2000/04/12 06:18:58 obrien Exp $
d9 1
a9 1
PORTVERSION=	9.3.2
d11 2
a12 2
MASTER_SITES=	ftp://ftp.cs.arizona.edu/icon/packages/unix/
DISTNAME=	unix
d17 1
a17 1
ONLY_FOR_ARCHS=	i386
d19 15
a33 3
DIST_SUBDIR=	icon
NO_WRKSUBDIR=	true
ALL_TARGET=	Icon Icon-iconc
d36 21
a56 1
	(cd ${WRKSRC}; ${MAKE} Configure name=intel_freebsd)
@


1.18
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.17 2000/01/14 17:09:01 imura Exp $
d12 1
a12 1
DISTNAME=       unix
@


1.17
log
@- Merge scripts/configure into Makefile
- Support install macros

PR:		15916
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
CVg: Obtained from:   Fill this in if the change is from third party software.
@
text
@a1 1
# Version required:     9.3.2
d5 1
a5 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.16 1999/08/31 06:46:47 mharo Exp $
d8 2
a9 2
DISTNAME=       unix
PKGNAME=	icon-9.3.2
d12 1
@


1.16
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.15 1999/08/28 16:36:05 cpiazza Exp $
d22 3
@


1.15
log
@Update to version 9.3.2 to unbreak the port
(the distfile is named unix.tgz..ugh)
@
text
@d4 1
a4 1
# Whom:                 Thomas Gellekum <tg@@FreeBSD.ORG>
d6 1
a6 1
# $FreeBSD: ports/lang/icon/Makefile,v 1.14 1999/08/25 06:34:45 obrien Exp $
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.ORG
@


1.14
log
@Change Id->FreeBSD.
@
text
@d2 1
a2 1
# Version required:     9.3.1
d6 1
a6 1
# $FreeBSD$
d10 1
a10 1
PKGNAME=	icon-9.3.1
@


1.13
log
@Mark this port only for i386.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.12 1998/02/20 12:19:36 tg Exp $
@


1.12
log
@Upgrade to 9.3.1.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1998/01/20 09:37:40 tg Exp $
d16 2
@


1.11
log
@FreeBSD and icon have different opinions about the format of
BLOCKSIZE. Patch icon to ignore this variable.

Update my e-mail address while I'm here.

PR:		5406
@
text
@d2 1
a2 1
# Version required:     9.3
d6 1
a6 1
# $Id: Makefile,v 1.10 1997/11/04 04:12:09 asami Exp $
d10 1
a10 2
EXTRACT_SUFX=	.tgz
PKGNAME=	icon-9.3
d13 1
d15 1
a15 1
MAINTAINER=	ports@@freebsd.org
@


1.10
log
@Define DIST_SUBDIR to move distfile to sabdirectory -- "unix.tgz" is just
too generic.
@
text
@d4 1
a4 1
# Whom:                 thomas@@ghpc8.ihf.rwth-aachen.de
d6 1
a6 1
# $Id: Makefile,v 1.9 1997/10/31 21:54:47 jseger Exp $
@


1.9
log
@Distfile for lang/icon was renamed on master site.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1997/02/12 08:39:15 tg Exp $
d17 1
@


1.8
log
@Upgrade to 9.3.

Closes 1/13th of PR #2677 ;-).
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/11/15 19:16:25 obrien Exp $
d10 1
@


1.7
log
@Modernize the Makefile.
@
text
@d2 1
a2 1
# Version required:     9.1
d6 1
a6 1
# $Id: Makefile,v 1.6 1996/11/12 02:18:28 obrien Exp $
d10 1
a10 1
PKGNAME=	icon-9.1
@


1.6
log
@CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1996/11/05 08:33:57 tg Exp $
d9 2
a10 2
DISTNAME=       icon-9.1
DISTFILES=	unix.tar.gz
@


1.5
log
@Upgrade to version 9.1
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1995/11/22 13:12:50 asami Exp $
d11 1
a11 1
CATEGORIES+=	lang
@


1.4
log
@Change category nome from "languages" to "lang".  Also remove "programming"
which appeared in some of them, everything here is a programming language! :)
@
text
@d2 1
a2 1
# Version required:     9.0
d6 1
a6 1
# $Id: Makefile,v 1.3 1995/07/29 09:54:58 asami Exp $
d9 2
a10 2
DISTNAME=       icon-9.0
DISTFILES=	unix_tar.gz
d12 3
a14 1
MASTER_SITES=	ftp://cs.arizona.edu/icon/packages/unix/
a15 1
PATCH_STRIP=	-p1
d17 1
a17 9
ALL_TARGET=	Icon

# work around a bug in rtt's preprocessor
#
do-build:
	@@(ENABLE_STARTUP_LOCALE=; \
	  unset ENABLE_STARTUP_LOCALE; \
	  cd ${WRKSRC}; \
	  ${MAKE} PREFIX=${PREFIX} X11BASE=${X11BASE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
@


1.3
log
@Install machine-independent scripts into /usr/local/share, etc.

Submitted by:	Thomas Gellekum <thomas@@ghpc8.ihf.rwth-aachen.de>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1995/04/15 05:44:38 asami Exp $
d11 1
a11 1
CATEGORIES+=	languages
@


1.2
log
@Update of lang Makefiles....
@
text
@d6 1
a6 1
# $Id$
d17 8
@


1.1
log
@Initial revision
@
text
@d6 2
d11 1
d13 1
a13 1
CATEGORIES+=	languages
@


1.1.1.1
log
@The Icon Programming Language, version 9.0
Submitted by:	Thomas Gellekum <thomas@@ghpc8.ihf.rwth-aachen.de>
@
text
@@
