aboutsummaryrefslogtreecommitdiffstats
path: root/www/libapreq2/Makefile
blob: 9f9cd41f37e2728d0e3e5f748b23f013c2c8ab51 (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
# Created by: Autrijus Tang <autrijus@autrijus.org>
# $FreeBSD$

PORTNAME=   libapreq2
PORTVERSION=    2.13
PORTREVISION=   4
CATEGORIES= www devel
MASTER_SITES=   APACHE_HTTPD/libapreq

MAINTAINER= apache@FreeBSD.org
COMMENT=    Generic Apache2 Request Library

LICENSE=    APACHE20

USES=       libtool
USE_APACHE= 22+
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  autoconf
CONFIGURE_ARGS+=    --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE}

SHLIB_MAJOR=    11
PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"

post-stage:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libapreq2.so.3.8.0
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_apreq2.so

.include <bsd.port.mk>