aboutsummaryrefslogtreecommitdiff
path: root/devel/as31/Makefile
blob: f879dfc1a78c3012239e5fd23f2c70da387f0393 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	as31
# Date created:			Nov 21, 2003
# Whom:				Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
#

PORTNAME=	as31
PORTVERSION=	2.0.b3
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://www.pjrc.com/tech/8051/tools/
DISTNAME=	${PORTNAME}_beta3

MAINTAINER=	vs@FreeBSD.org
COMMENT=	A free 8051 assembler

.ifndef(WITHOUT_X11)
USE_GNOME=	gtk12
PLIST_SUB+=	X11=""
.else
ALL_TARGET=	as31
PLIST_SUB+=	X11="@comment "
.endif
USE_BISON=	YES

WRKSRC=		${WRKDIR}/${PORTNAME}
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"

PLIST_FILES=	bin/as31 %%X11%%bin/as31_gtk

do-install:
	@${INSTALL} ${WRKSRC}/as31 ${PREFIX}/bin
.ifndef(WITHOUT_X11)
	@${INSTALL} ${WRKSRC}/as31_gtk ${PREFIX}/bin
.endif

.include <bsd.port.mk>