[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cad / libwcalc

File: [cvs.NetBSD.org] / pkgsrc / cad / libwcalc / Makefile (download)

Revision 1.4, Thu Jan 28 01:11:27 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.3: +3 -1 lines

Do not build the message catalogs by default for the various wcalc
packages, but only in libwalc. They have been silently reinstalled
over and over again. Mark *wcalc* as DESTDIR ready.

# $NetBSD: Makefile,v 1.4 2010/01/28 01:11:27 joerg Exp $
#

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../cad/wcalc/Makefile.common"
PKGNAME=	lib${DISTNAME}
PKGREVISION=	1

COMMENT=	Library for Transmission Line Analysis/Synthesis

# Disable all the frontends so we only build/install the libwcalc
# portion
CONFIGURE_ARGS+=	--disable-cgi
CONFIGURE_ARGS+=	--disable-gtk1
CONFIGURE_ARGS+=	--disable-gtk2
CONFIGURE_ARGS+=	--disable-htdocs
CONFIGURE_ARGS+=	--enable-libwcalc
CONFIGURE_ARGS+=	--disable-stdio
CONFIGURE_ARGS+=	--without-matlab
CONFIGURE_ARGS+=	--without-octave
CONFIGURE_ARGS+=	--without-scilab

USE_PKGLOCALEDIR=	yes

PKGCONFIG_OVERRIDE=	libwcalc/wcalc.pc.in

BUILD_DIRS=		${WRKSRC} ${WRKSRC}/po

pre-build:
	${MV} ${WRKSRC}/libwcalc/wcalc-config ${WRKSRC}/libwcalc/wcalc-config.bak
	${SED} 's;^RPATH.*;RPATH_FLAG="${COMPILER_RPATH_FLAG}";g' ${WRKSRC}/libwcalc/wcalc-config.bak > \
		${WRKSRC}/libwcalc/wcalc-config
	${CHMOD} 755 ${WRKSRC}/libwcalc/wcalc-config

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"