1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/as31/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

37 lines
763 B
Makefile

# 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= A free 8051 assembler
.ifndef(WITHOUT_X11)
USE_GNOME= gtk12
PLIST_SUB+= X11=""
.else
ALL_TARGET= as31
PLIST_SUB+= X11="@comment "
.endif
USES= bison
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>