aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libbinio/Makefile
blob: cc1cfd7e5102c8843ee5e02b782771af26b8d01c (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
33
34
35
# New ports collection makefile for:    libbinio
# Date created:             10 August 2004
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   libbinio
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Binary I/O stream class library

USE_AUTOTOOLS=  libtool:22
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

CONFIGURE_ENV=  CFLAGS="${CFLAGS} ${CPPFLAGS}" \
        CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
        CPPFLAGS="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}"

post-patch:
    @${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|; \
        s|^\(pkgconfigdir\).*|\1 = ${PREFIX}/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>