aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnat_util
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-25 05:46:07 +0800
committermarino <marino@FreeBSD.org>2014-05-25 05:46:07 +0800
commit969194edb8395a89c0a25c886ce77878d124e85d (patch)
treeba8b147b12127be0bedb5fc203cd8f1c2ad3cce1 /lang/gnat_util
parentabd978af970c58bafc9ebbf5c79a958149307037 (diff)
downloadfreebsd-ports-gnome-969194edb8395a89c0a25c886ce77878d124e85d.tar.gz
freebsd-ports-gnome-969194edb8395a89c0a25c886ce77878d124e85d.tar.zst
freebsd-ports-gnome-969194edb8395a89c0a25c886ce77878d124e85d.zip
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.
Diffstat (limited to 'lang/gnat_util')
-rw-r--r--lang/gnat_util/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gnat_util/Makefile b/lang/gnat_util/Makefile
index e67f31d58e14..5dc2e645ce45 100644
--- a/lang/gnat_util/Makefile
+++ b/lang/gnat_util/Makefile
@@ -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} '/\//' | \