2000-08-01 12:00:31 +02:00
|
|
|
# New ports collection makefile for: asis
|
|
|
|
# Date created: 11 Jul 2000
|
|
|
|
# Whom: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asis
|
2003-08-12 13:55:45 +02:00
|
|
|
PORTVERSION= 3.15p
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2000-08-01 12:00:31 +02:00
|
|
|
CATEGORIES= devel
|
2005-10-29 21:12:40 +02:00
|
|
|
MASTER_SITES= http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/asis/ \
|
|
|
|
ftp://ftp.cs.kuleuven.ac.be/pub/Ada-Belgium/mirrors/gnu-ada/3.15p/asis/
|
2000-08-01 12:00:31 +02:00
|
|
|
DISTNAME= asis-${PORTVERSION}-src
|
2002-03-26 20:24:49 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-08-01 12:00:31 +02:00
|
|
|
|
|
|
|
MAINTAINER= thomas@cuivre.fr.eu.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= GNAT implementation of the Ada Semantic Interface Specification
|
2000-08-01 12:00:31 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
|
|
|
|
|
2005-10-29 21:12:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-12-06 01:15:43 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500039
|
|
|
|
WITHOUT_CPU_CFLAGS= yes
|
|
|
|
.endif
|
2004-12-23 02:39:18 +01:00
|
|
|
CFLAGS= -O2 -pipe
|
2003-06-05 00:43:38 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= "${FILESDIR}/Makefile.bsd"
|
|
|
|
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \
|
|
|
|
LN=${LN}
|
|
|
|
|
2000-08-01 12:00:31 +02:00
|
|
|
do-install:
|
2002-03-26 20:24:49 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/asis
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/asis/*.ad? ${WRKSRC}/gnat/*.ad? ${WRKSRC}/obj/*.ali ${PREFIX}/lib/asis
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/obj/libasis.a ${PREFIX}/lib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/libasis-${PORTVERSION}.so.1 ${PREFIX}/lib
|
|
|
|
@${LN} -sf ${PREFIX}/lib/libasis-${PORTVERSION}.so.1 ${PREFIX}/lib/libasis-${PORTVERSION}.so
|
2000-08-01 12:00:31 +02:00
|
|
|
|
2002-03-26 20:24:49 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/asistant.prg ${PREFIX}/bin/asistant
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/display_source ${WRKSRC}/gnatelim ${WRKSRC}/gnatstub ${PREFIX}/bin
|
2000-08-01 12:00:31 +02:00
|
|
|
|
|
|
|
post-install:
|
2002-03-26 20:24:49 +01:00
|
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
2000-08-01 12:00:31 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-03-26 20:24:49 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/documentation/* ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/ds/README ${DOCSDIR}/README.ds
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tools/asistant/asistant.ug ${DOCSDIR}/README.asistant
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tools/gnatelim/README ${DOCSDIR}/README.gnatelim
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tools/gnatstub/README ${DOCSDIR}/README.gnatstub
|
2000-08-01 12:00:31 +02:00
|
|
|
.endif
|
|
|
|
|
2004-12-06 01:15:43 +01:00
|
|
|
.include <bsd.port.post.mk>
|