2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2011/04/22 13:43:18 obache Exp $
|
2004-06-30 13:23:43 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= florist-3.15p-src
|
|
|
|
PKGNAME= florist-3.15p
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 3
|
2004-06-30 13:23:43 +02:00
|
|
|
CATEGORIES= devel
|
2006-10-04 23:35:58 +02:00
|
|
|
MASTER_SITES= http://www.cs.fsu.edu/~baker/ftp/
|
2004-06-30 13:23:43 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
2006-10-04 23:35:58 +02:00
|
|
|
HOMEPAGE= http://www.cs.fsu.edu/~baker/florist.html
|
2004-06-30 13:23:43 +02:00
|
|
|
COMMENT= FSU implementation of POSIX.5 (Ada binding)
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-06-30 13:23:43 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_AUTOCONF= yes
|
2005-06-01 22:07:59 +02:00
|
|
|
USE_TOOLS+= autoconf213 gmake
|
2004-06-30 13:23:43 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# This package requires an Ada compiler. Two are available:
|
|
|
|
# 1) lang/gcc34-ada and 2) lang/gcc34 built with Ada option
|
|
|
|
# If USE_GCC_34=YES this package will use gcc34. Otherwise,
|
|
|
|
# it will use gcc34-ada
|
2005-12-05 21:49:47 +01:00
|
|
|
BUILD_DEFS+= USE_GCC_34
|
2004-06-30 13:23:43 +02:00
|
|
|
USE_GCC_34?= NO
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/pconfig.NetBSD ${WRKSRC}/configs
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
.if !empty(USE_GCC_34:M[Yy][Ee][Ss])
|
|
|
|
. include "../../lang/gcc34/preconfigure.mk"
|
|
|
|
.else
|
|
|
|
. include "../../lang/gcc34-ada/preconfigure.mk"
|
|
|
|
.endif
|
2005-06-01 22:07:59 +02:00
|
|
|
cd ${WRKSRC}; autoconf
|
2004-06-30 13:23:43 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/florist
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
|
2004-06-30 13:23:43 +02:00
|
|
|
${WRKSRC}/floristlib/*.ali \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${PREFIX}/lib/florist
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a \
|
|
|
|
${DESTDIR}${PREFIX}/lib
|
2004-06-30 13:23:43 +02:00
|
|
|
|
|
|
|
.if !empty(USE_GCC_34:M[Yy][Ee][Ss])
|
|
|
|
. include "../../lang/gcc34/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
. include "../../lang/gcc34-ada/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|