head	1.18;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2;
locks; strict;
comment	@# @;


1.18
date	2013.03.08.21.56.28;	author svnexp;	state Exp;
branches;
next	1.17;

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

1.16
date	2012.08.03.03.45.16;	author pgj;	state Exp;
branches;
next	1.15;

1.15
date	2010.12.06.21.05.19;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2009.05.12.11.28.16;	author itetcu;	state Exp;
branches;
next	1.13;

1.13
date	2008.04.19.17.51.32;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2007.10.17.10.12.44;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2007.05.19.20.13.49;	author flz;	state Exp;
branches;
next	1.10;

1.10
date	2005.10.14.12.28.45;	author vs;	state Exp;
branches;
next	1.9;

1.9
date	2005.10.14.12.18.04;	author vs;	state Exp;
branches;
next	1.8;

1.8
date	2005.01.21.11.13.30;	author vs;	state Exp;
branches;
next	1.7;

1.7
date	2004.08.20.06.03.12;	author linimon;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.03.14.18.45;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.04.05.21.40;	author marcus;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.26.18.24.41;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2003.12.10.21.47.45;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2003.03.05.19.25.55;	author obraun;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.05.16.06.49;	author obraun;	state Exp;
branches;
next	;


desc
@@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Steffen Mazanek <steffen.mazanek@@unibw-muenchen.de>
# $FreeBSD: head/lang/ohugs/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	ohugs
PORTVERSION=	0.5
PORTREVISION=	8
CATEGORIES=	lang haskell
MASTER_SITES=	http://www.math.chalmers.se/~nordland/ohugs/
DISTNAME=	${PORTNAME}-${PORTVERSION}.src

MAINTAINER=	haskell@@FreeBSD.org
COMMENT=	Interpreter for Haskell with object-oriented features

OPTIONS_DEFINE=		X11

.include <bsd.port.options.mk>

LIB_DEPENDS=	readline.6:${PORTSDIR}/devel/readline
.if empty(PORT_OPTIONS:MX11)
LIB_DEPENDS=	Tix8.4.3.0:${PORTSDIR}/x11-toolkits/tix
.endif

WRKSRC=		${WRKDIR}/${DISTNAME:S/.src//}
BUILD_WRKSRC=	${WRKSRC}/src
USES=		bison
LDFLAGS+=	-lm -lreadline -ltermcap
.if empty(PORT_OPTIONS:MX11)
USE_TK=		84+
CFLAGS+=	-I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -ltk${TK_VER:S/.//} -ltcl${TCL_VER:S/.//} -lTix8.4.3
.endif
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
		INSTBIN=${PREFIX}/bin INSTLIB=${PREFIX}/lib/ohugs

post-patch:
.if empty(PORT_OPTIONS:MX11)
	@@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch-src::prelude.h
.endif

.include <bsd.port.mk>
@


1.17
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:	ohugs
# Date created:				03.03.03
# Whom:					Steffen Mazanek <steffen.mazanek@@unibw-muenchen.de>
# $FreeBSD: head/lang/ohugs/Makefile 301933 2012-08-03 03:45:16Z pgj $
#
d25 1
a25 1
USE_BISON=	build
@


1.16
log
@SVN rev 301933 on 2012-08-03 03:45:16Z by pgj

- Use the new options framework

Obtained from:	FreeBSD Haskell
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.15
log
@- Fix build with new tix
@
text
@d9 1
a9 1
PORTREVISION=	7
d17 4
d22 1
a22 1
.if !defined(WITHOUT_X11)
d30 1
a30 1
.if !defined(WITHOUT_X11)
a37 2
.include <bsd.port.pre.mk>

d39 1
a39 1
.if defined(WITHOUT_X11)
d43 1
a43 1
.include <bsd.port.post.mk>
@


1.14
log
@Fix LIB_DEPENDS on devel/readline: its sh lib version was bumped recently from
5 to 6.

Forgotten by:	araujo@@
Reported by:	QAT
@
text
@d9 1
a9 1
PORTREVISION=	6
d19 1
a19 1
LIB_DEPENDS+=	tix8184:${PORTSDIR}/x11-toolkits/tix
d27 3
a29 2
CFLAGS+=	-I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -ltk84 -ltcl84 -ltix8184
@


1.13
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
@d9 1
a9 1
PORTREVISION=	5
d17 1
a17 1
LIB_DEPENDS=	readline.5:${PORTSDIR}/devel/readline
@


1.12
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@d27 1
a27 1
CFLAGS+=	-I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include -I${X11BASE}/include
@


1.11
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 1
PORTREVISION=	4
d24 1
a24 1
USE_BISON=	yes
@


1.10
log
@Clean up a bit
@
text
@d9 1
a9 1
PORTREVISION=	3
@


1.9
log
@Claim for haskell@@
@
text
@d17 1
d19 1
a19 1
LIB_DEPENDS=	tix8184:${PORTSDIR}/x11-toolkits/tix
d23 1
a23 1
USE_REINPLACE=	yes
d25 7
a38 7
	@@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
.if !defined(WITHOUT_X11)
	@@${REINPLACE_CMD} -e 's|#CFLAGS+=|CFLAGS+= -I${PREFIX}/include/tk8.4 \
	 -I${PREFIX}/include/tcl8.4 -I${PREFIX}/include -I${X11BASE}/include| ; \
	 s|#LDFLAGS+=|LDFLAGS+=-L${PREFIX}/lib -ltk84 -ltcl84 -ltix8184|' \
		${WRKSRC}/src/Makefile
.endif
@


1.8
log
@Unbreak on 5.X. We really should update to the CVS-version one of these days...

PR:		ports/76501
Submitted by:	Johan van Selst
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.7
log
@Reset bouncing maintainer address (permanent error).
@
text
@a26 4
.if ${OSVERSION} >= 502108
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

@


1.6
log
@BROKEN on 5.x: Does not compile
@
text
@d14 1
a14 1
MAINTAINER=	steffen.mazanek@@unibw-muenchen.de
@


1.5
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d25 6
d43 1
a43 1
.include <bsd.port.mk>
@


1.4
log
@- Chase tix shlib bump

PR:		ports/61930
Submitted by:	Volker Stolz <stolz@@i2.informatik.rwth-aachen.de>
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.3
log
@- Chase tix library name change.

PR:		ports/60115
Submitted by:	Volker Stolz <stolz@@i2.informatik.rwth-aachen.de>
@
text
@d9 1
a9 1
PORTREVISION=	1
d18 1
a18 1
LIB_DEPENDS=	tix4184:${PORTSDIR}/x11-toolkits/tix
d31 3
a33 3
	@@${REINPLACE_CMD} -e 's|#CFLAGS+=|CFLAGS+= -I${PREFIX}/include/tk8.2 \
	 -I${PREFIX}/include/tcl8.2 -I${PREFIX}/include -I${X11BASE}/include| ; \
	 s|#LDFLAGS+=|LDFLAGS+=-L${PREFIX}/lib -ltk82 -ltcl82 -ltix4184|' \
@


1.2
log
@* Make port respect PREFIX, CFLAGS, LDFLAGS.
* Cleanup patches, use REINPLACE were appropriate.

Approved by:	maintainer
@
text
@d9 1
d18 1
a18 1
LIB_DEPENDS=	tix4182:${PORTSDIR}/x11-toolkits/tix
d33 1
a33 1
	 s|#LDFLAGS+=|LDFLAGS+=-L${PREFIX}/lib -ltk82 -ltcl82 -ltix4182|' \
@


1.1
log
@Add ohugs 0.5, interpreter for Haskell with object-oriented features.

PR:		ports/48946
Submitted by:	Steffen Mazanek <steffen.mazanek@@unibw-muenchen.de>
@
text
@d21 1
d25 4
d30 4
a33 3
	cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/extra-patch-graphics
.else
	cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/extra-patch-text
@

