aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pxtools/Makefile
blob: 0268da6666684612fbb8158263b454200a54eac1 (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
# New ports collection makefile for:    pxtools
# Date created:             27 November 1999
# Whom:                 Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pxtools
PORTVERSION=    0.0.20
CATEGORIES= databases
MASTER_SITES=   http://jan.kneschke.de/assets/2007/2/16/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Collection of tools to work with Paradox databases

USE_GETOPT_LONG=yes
GNU_CONFIGURE=  yes
USE_GETTEXT=    yes
CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

post-patch:
    @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \
        ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>