summaryrefslogtreecommitdiffstats
path: root/devel/as31/Makefile
blob: 97b91c909c219903f855a82a1267be538faf55e6 (plain)
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
39
40
# 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=	3
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}"

MAN1=		as31.1
PLIST_FILES=	bin/as31 %%X11%%bin/as31_gtk

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/as31 ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/as31.1 ${MANPREFIX}/man/man1
.ifndef(WITHOUT_X11)
	@${INSTALL} ${WRKSRC}/as31_gtk ${PREFIX}/bin
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud