freebsd-ports/devel/asis/Makefile
Edwin Groothuis dcf18bc770 devel/asis: must build without -fno-strict-aliasing
ASIS is build using the GCC that comes from the GNAT port,
	which is a 2.8.1-based compiler that neither supports nor
	needs -fno-strict-aliasing, which is now present in the
	system default CFLAGS value. To allow this port to build
	on a recent -CURRENT, this CFLAGS setting thus needs to be
	overridden by the port's Makefile.

PR:		ports/75376
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2004-12-23 01:39:18 +00:00

55 lines
1.7 KiB
Makefile

# New ports collection makefile for: asis
# Date created: 11 Jul 2000
# Whom: Thomas Quinot <thomas@cuivre.fr.eu.org>
#
# $FreeBSD$
#
PORTNAME= asis
PORTVERSION= 3.15p
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= \
ftp://ftp.lip6.fr/pub/gnat/${PORTVERSION}/asis/ \
ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/asis/
DISTNAME= asis-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= thomas@cuivre.fr.eu.org
COMMENT= GNAT implementation of the Ada Semantic Interface Specification
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
CFLAGS= -O2 -pipe
USE_GMAKE= yes
MAKEFILE= "${FILESDIR}/Makefile.bsd"
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \
LN=${LN}
do-install:
@${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
@${INSTALL_PROGRAM} ${WRKSRC}/asistant.prg ${PREFIX}/bin/asistant
@${INSTALL_PROGRAM} ${WRKSRC}/display_source ${WRKSRC}/gnatelim ${WRKSRC}/gnatstub ${PREFIX}/bin
post-install:
@${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${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
.endif
.include <bsd.port.post.mk>