blob: 6c5de7ea3402a9723c586da7491c44b280d41352 (
plain) (
blame)
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
47
48
49
50
51
52
53
54
55
|
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= apq
PORTVERSION= ${APQ_VERSION}
PORTREVISION= ${BASE_PORTREV}
CATEGORIES= databases
MASTER_SITES= LOCAL/marino
MAINTAINER= ports@FreeBSD.org
COMMENT= APQ Ada95 database base library
LICENSE= GPLv2 GMGPL
LICENSE_COMB= multi
BUILD_DEPENDS= bash:shells/bash \
gprbuild:devel/gprbuild
USES= ada tar:bzip2
PORTDOCS= README HISTORY
HAS_CONFIGURE= yes
WRKPATH= ${WRKDIR}/build
CONFIGURE_ARGS= --prefix=${PREFIX} \
--disable-relocatable \
--work-path=${WRKPATH} \
--processors=${MAKE_JOBS_NUMBER}
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/Makefile.version"
post-patch:
@${REINPLACE_CMD} -e '/for Object_Dir/d' ${WRKSRC}/gnat/apq.gpr.in
${REINPLACE_CMD} -e 's|processors=2|gprbuild_params="--autoconf=apq.cgpr"|' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|-ws|-ws --autoconf=dummy.cgpr|' \
${WRKSRC}/scripts/buildutil.sh
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
${STAGEDIR}${PREFIX}/lib/apq/static \
${STAGEDIR}${PREFIX}/include/apq \
${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKPATH}/include/apq/* \
${STAGEDIR}${PREFIX}/include/apq
${INSTALL_DATA} ${WRKPATH}/lib/apq/static/*.a* \
${STAGEDIR}${PREFIX}/lib/apq/static
${INSTALL_DATA} ${WRKPATH}/lib/gnat/apq.gpr \
${STAGEDIR}${PREFIX}/lib/gnat
do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/HISTORY \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|