aboutsummaryrefslogtreecommitdiffstats
path: root/devel/regexx/Makefile
blob: 21f80b79537b90aa618ae9358edc8e8414e3a76a (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
# ex:ts=8
# New ports collection makefile for:    regexx
# Date created:         Mar 2, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   regexx
PORTVERSION=    0.98.1
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A complete regular expressions C++ solution

LIB_DEPENDS=    pcre.0:${PORTSDIR}/devel/pcre

USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|@LIBTOOL@|${LIBTOOL}|g ; \
        s|\./libtool|${LIBTOOL}|g ; \
        s|\(DEFS.*\)|\1 -I${LOCALBASE}/include|' \
        ${WRKSRC}/src/Makefile.in ${WRKSRC}/pcre/Makefile.in
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir| ; \
        ' ${WRKSRC}/configure
#       s|subdirs="pcre"||g' ${WRKSRC}/configure

.include <bsd.port.mk>