aboutsummaryrefslogtreecommitdiffstats
path: root/devel/as31/Makefile
blob: 993554e4a23a5453bb66c4e5e7396ca4ce9bd29c (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
39
40
# Created by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Free 8051 assembler

# GNU make(1) allows parallel (-jX) builds to work: we plug a race in
# "bison" rule (which outputs multiple files) via order prerequisites
# (see files/patch-Makefile)
USES=       bison gmake
WRKSRC=     ${WRKDIR}/${PORTNAME}

PLIST_FILES=    bin/as31 %%X11%%bin/as31_gtk man/man1/as31.1.gz

OPTIONS_DEFINE= X11
OPTIONS_SUB=    yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MX11}
USE_GNOME=  gtk12
.else
ALL_TARGET= as31
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/as31 ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/as31.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MX11}
    ${INSTALL_PROGRAM} ${WRKSRC}/as31_gtk ${STAGEDIR}${PREFIX}/bin
.endif

.include <bsd.port.mk>