freebsd-ports/palm/palm-db-tools/Makefile

28 lines
672 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= palm-db-tools
PORTVERSION= 0.3.6
CATEGORIES= palm
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for the PalmOS flat-file database programs
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
PLIST_FILES= lib/libpdbtools.so \
bin/csv2pdb \
bin/pdb2csv
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|-Wno-deprecated|& -fPIC -DPIC|" \
${WRKSRC}/libflatfile/Makefile.in ${WRKSRC}/libpalm/Makefile.in \
${WRKSRC}/libsupport/Makefile.in ${WRKSRC}/flatfile/Makefile.in
.include <bsd.port.mk>