# New ports collection makefile for:	asl
# Date created:		18 June 1997
# Whom:			Thomas Gellekum <tg@freebsd.org>
#
# $FreeBSD: ports/devel/asl/Makefile,v 1.15 2003/02/20 17:06:39 knu Exp $
#

PORTNAME=	asl
PORTVERSION=	1.41r8
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
		ftp://john.ccac.rwth-aachen.de/pub/as/source/c_version/
MASTER_SITE_SUBDIR=	devel/lang/assemblers

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Assembler for a variety of microcontrollers/-processors

USE_REINPLACE=	yes
ONLY_FOR_ARCHS=	i386 alpha

MAN1=	asl.1 p2bin.1 p2hex.1 pbind.1 plist.1

post-extract:
	${CP} ${FILESDIR}/Makefile.def ${WRKSRC}

post-patch:
	${REINPLACE_CMD} -e 's/mkdirhier/mkdir \-p/' ${WRKSRC}/install.sh

post-install:
	@${MKDIR} ${PREFIX}/share/doc/asl
	${INSTALL_DATA} ${WRKSRC}/doc_EN/* ${PREFIX}/share/doc/asl

.include <bsd.port.mk>
