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

PORTNAME=	pxtools
PORTVERSION=	0.0.19
PORTREVISION=	3
CATEGORIES=	databases
MASTER_SITES=	http://jan.kneschke.de/projects/pxtools/download/

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

USE_GETOPT_LONG=yes
GNU_CONFIGURE=	yes
USE_GETTEXT=	yes
USE_REINPLACE=	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>