mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
4210c3d847
The Ada "Standard Generic Library" (SGL) The Ada SGL is a port of the C++ Standard Template Library (STL). PR: ports/46410 Submitted by: David Holm <david@realityrift.com>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: sgl
|
|
# Date created: 20 December 2002
|
|
# Whom: David Holm <david@realityrift.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sgl
|
|
PORTVERSION= 2.0a3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.cs.rpi.edu/pub/stl/
|
|
DISTNAME= SGL-${PORTVERSION}
|
|
|
|
MAINTAINER= david@realityrift.com
|
|
COMMENT= STL implementation for ADA95
|
|
|
|
RUN_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat
|
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/SGL
|
|
${MKDIR} ${PREFIX}/share/SGL
|
|
${MKDIR} ${PREFIX}/share/SGL/examples
|
|
|
|
for i in `cat pkg-plist|grep -v dirrm|grep "lib/SGL"|sed "s/lib\/SGL\///"`; do \
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sgl/$${i} ${PREFIX}/lib/SGL; \
|
|
done
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/copyright ${PREFIX}/share/SGL
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/readme ${PREFIX}/share/SGL
|
|
|
|
for i in `cat pkg-plist|grep -v dirrm|grep "share/SGL/examples"|sed "s/share\/SGL\/examples\///"`; do \
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/test/$${i} ${PREFIX}/share/SGL/examples; \
|
|
done
|
|
|
|
post-install:
|
|
@${ECHO}
|
|
@${ECHO} "Files have been installed into ${PREFIX}/lib/SGL"
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.post.mk>
|