7beb8579b5
of Gtk+ widgets using the Object-Oriented features of this language. This version of GtkAda is designed to be used with lang/gnat-gcc41. WWW: https://libre2.adacore.com/GtkAda/ WWW: http://gnuada.sourceforge.net/ PR: ports/107183 Submitted by: Petr Holub <hopet at ics.muni.cz>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: gtkada-gcc
|
|
# Date Created: 24 Dec 2006
|
|
# Whom: Petr Holub <hopet@ics.muni.cz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkada
|
|
PORTVERSION= 2.8.1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= gnuada
|
|
PKGNAMESUFFIX= -gcc
|
|
DISTNAME= gnat-gcc-gtkada-4.1.1_2.8.1-r6.src
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
MAINTAINER= hopet@ics.muni.cz
|
|
COMMENT= Gtk2 binding for lang/gnat-gcc41 port of GNAT Ada compiler
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/gcc41/gcc41:${PORTSDIR}/lang/gnat-gcc41
|
|
|
|
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
|
|
|
|
WRKSRC= ${WRKDIR}/GtkAda-2_8_1
|
|
|
|
CONFLICTS= gtkada-[0-9]* \
|
|
gtkada-devel-[0-9]*
|
|
|
|
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
|
|
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnomehack gtk20 libglade2
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
#EXAMPLESDIR= ${DATADIR}/examples
|
|
|
|
do-extract:
|
|
if [ ! -d ${WRKDIR} ]; then \
|
|
${MKDIR} ${WRKDIR}; \
|
|
fi
|
|
( cd ${WRKDIR} && \
|
|
rpm2cpio.pl <${DISTDIR}/gnat-gcc-gtkada-4.1.1_2.8.1-r6.src.rpm | ${CPIO} -i GtkAda-2_8_1.tar.bz2 && \
|
|
tar jxf GtkAda-2_8_1.tar.bz2 )
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/projects/Makefile
|
|
|
|
.include <bsd.port.mk>
|