mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
devel/afay: Move to Ada framework
Currently this port has a hard dependency on lang/gnat. This has been replaced with USES+=ada and minor changes to incorporate it into the Ada framework with a PORTREVISION bump. The makefile header was trimmed and NOPORTDOCS was replaced with the DOCS option, and now portlint is happy. Approved by: bapt & culot (mentors)
This commit is contained in:
parent
bcdb8c1dc9
commit
6b63d88b6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323753
@ -1,12 +1,9 @@
|
||||
# Ports collection makefile for: afay
|
||||
# Date created: 9 Nov 2006
|
||||
# Whom: John M. Cooper
|
||||
#
|
||||
# Created by: John M. Cooper <john_m_cooper@yahoo.com>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= afay
|
||||
PORTVERSION= 041111
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://thiberlog.free.fr/src/
|
||||
DISTNAME= ${PORTNAME}_thiberlog_${PORTVERSION}
|
||||
@ -15,23 +12,27 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= john_m_cooper@yahoo.com
|
||||
COMMENT= Improved aflex and ayacc Ada 95 native scanner and parser generators
|
||||
|
||||
BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat \
|
||||
bash:${PORTSDIR}/shells/bash
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
USES= ada
|
||||
MAN1= aflex.1 ayacc.1
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/afay/aflex/src/gnat_unix && ${SH} ./README
|
||||
@cd ${WRKSRC}/afay/ayacc/src/gnat_unix && ${SH} ./README
|
||||
@cd ${WRKSRC}/afay/aflex/src/gnat_unix && \
|
||||
${SETENV} ${MAKE_ENV} ${SH} ./README
|
||||
@cd ${WRKSRC}/afay/ayacc/src/gnat_unix && \
|
||||
${SETENV} ${MAKE_ENV} ${SH} ./README
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/afay/aflex/src/aflex ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/afay/ayacc/src/ayacc ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.man ${PREFIX}/man/man1/aflex.1
|
||||
${INSTALL_DATA} ${WRKSRC}/afay/ayacc/doc/old_docs/ayacc.manpage ${PREFIX}/man/man1/ayacc.1
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DESTDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/READ_ME ${DOCSDIR}/READ_ME.aflex
|
||||
${INSTALL_DATA} ${WRKSRC}/afay/aflex/doc/aflex.html ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user