forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
28 lines
631 B
Makefile
28 lines
631 B
Makefile
# 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>
|