aboutsummaryrefslogtreecommitdiffstats
path: root/palm/palm-db-tools/Makefile
blob: 57e2f61480570fc15f4b1f5f8e2d15125f2b9b20 (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
# ex:ts=8
# Ports collection makefile for:    palm-db-tools
# Date created:         Dec 25, 2006
# Whom:             ijliao
#
# $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

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>