4e74162b8b
Approved by: novel (mentor)
35 lines
804 B
Makefile
35 lines
804 B
Makefile
# New ports collection makefile for: libbinio
|
|
# Date created: 10 August 2004
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libbinio
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Binary I/O stream class library
|
|
|
|
INSTALLS_SHLIB= yes
|
|
USE_LIBTOOL_VER=15
|
|
USE_REINPLACE= yes
|
|
USE_GCC= 3.4+
|
|
|
|
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>
|