summaryrefslogblamecommitdiff
path: root/x11-toolkits/gtkada/Makefile
blob: 03c5c2d37bea7131cd9657c8fe8e9a371e82b821 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                
                      
                            

                                                    
                                               
                                     
                    


                               
                                            

                                       
 
                   
                   

                                   

                   


                                                                     

                                                            

                                              
                                      


                                                              
                                                                      

                      
# New ports collection makefile for:   gtkada
# Date Created:			27 Nov 2000
# Whom:				Samuel Tardieu <sam@inf.enst.fr>
#
# $FreeBSD$
#

PORTNAME=	gtkada
PORTVERSION=	1.2.12
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://libre.act-europe.fr/GtkAda/ \
		http://gtkada.eu.org/ \
		http://www.adapower.com/gtkada/
DISTNAME=	GtkAda-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	sam@inf.enst.fr

BUILD_DEPENDS=	adagcc:${PORTSDIR}/lang/gnat

SHLIB_VERSION=	${PORTVERSION:S/1.2.//}

USE_MESA=	yes
USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	libcapplet libglade
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAKE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

PLIST_SUB=	SHLIB_VERSION=${SHLIB_VERSION}

MAN1=	dgate.1 gate.1 gtkada-config.1

post-install:
	${INSTALL_DATA}	${WRKSRC}/docs/*.1 ${PREFIX}/man/man1/
	${LN} -sf ${PREFIX}/share/doc/GtkAda/*/*.info* ${PREFIX}/info/

.include <bsd.port.mk>