mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
c2b6fae291
PR: 59516 Submitted by: Ports Fury
33 lines
709 B
Makefile
33 lines
709 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: dbf
|
|
# Date created: Apr 3, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dbf
|
|
PORTVERSION= 0.8.1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Show and convert the content of dBASE III, IV, and 5.0 files
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
USE_REINPLACE= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}"
|
|
|
|
post-patch:
|
|
.for file in endian.h tables.h
|
|
@${REINPLACE_CMD} -e '/typedef u_int/d' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dbf ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|