blob: 3fb4d60637d191a1bbe526a0765187efe32fd973 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: florist
# Date created: 1 Sep 2002
# Whom: Vadim Godunko <vgodunko@vipmail.ru>
#
# $FreeBSD$
#
PORTNAME= florist
PORTVERSION= 3.15p
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cs.fsu.edu/~baker/ftp/
DISTNAME= florist-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= FSU implementation of POSIX.5, the POSIX Ada binding
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
USE_AUTOTOOLS= autoconf:213
USE_GMAKE= yes
CONFIGURE_ARGS= --enable-threads
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
LIBS="${LIBS} ${PTHREAD_LIBS}"
MAKEFILE= "${FILESDIR}/Makefile.bsd"
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} LN=${LN} \
RM=${RM}
INSTALLS_SHLIB= yes
post-extract:
# add FreeBSD configuration
@${CP} ${FILESDIR}/pconfig.FreeBSD \
${WRKSRC}/configs
do-install:
@${MKDIR} ${PREFIX}/lib/florist
@${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
${WRKSRC}/floristlib/*.ali \
${PREFIX}/lib/florist
@${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib
@${INSTALL_DATA} ${WRKSRC}/libflorist-${PORTVERSION}.so.1 ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libflorist-${PORTVERSION}.so.1 \
${PREFIX}/lib/libflorist-${PORTVERSION}.so
.include <bsd.port.mk>
|