1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

lang/gnat_util: Carry impunit.ad[bs] source files

The GNAT Programming Studio needs the impunit.ad[bs] files in order
to create a menu based on the gnat source code.  Just carry these
source files with the others that are used to build gnat_util and then
use the GPS port makefile to pull it in as needed.  A quick check with
poudriere indicates that ports dependent on gnat_util still build fine.
This commit is contained in:
John Marino 2014-05-24 21:46:07 +00:00
parent a9ee86fad5
commit 0ffe02b817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355093

View File

@ -3,7 +3,7 @@
PORTNAME= gnat_util
PORTVERSION= ${SNAPSHOT}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= ${MS_SUBDIR}
@ -35,6 +35,9 @@ post-extract:
.endfor
post-install:
# impunit is needed for GPS menus, just provide the source files
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/gcc/ada/impunit.* \
${STAGEDIR}${PREFIX}/include/gnat_util
@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
${SORT} >> ${TMPPLIST}
@cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | \