# New ports collection makefile for:	kasm
# Date created:				28 Aug 2006
# Whom:					Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD: ports/devel/kasm/Makefile,v 1.1 2006/08/28 06:18:01 jylefort Exp $
#

PORTNAME=	kasm
PORTVERSION=	1.0.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	k-asm

MAINTAINER=	jylefort@FreeBSD.org
COMMENT=	A System RPL/Machine Language assembler for the HP48/HP49 calculators

GNU_CONFIGURE=	yes
USE_GETOPT_LONG=yes
PORTDOCS=	*

OPTIONS=	HP48 "set the default output model to hp48 instead of hp49" off

.include <bsd.port.pre.mk>

.if defined(WITH_HP48)
CONFIGURE_ARGS+=	--with-default=hp48
.endif

post-patch:
	@${RM} -f ${WRKSRC}/src/getopt.h

.include <bsd.port.post.mk>
