summaryrefslogtreecommitdiff
path: root/devel/korelib/Makefile
blob: d726714dd3a115d192793e460c6ef67d074f5a78 (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
# New ports collection makefile for:	korelib
# Date created:				10 May 2001
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	korelib
PORTVERSION=	1.0
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.rygannon.com/pub/Korelib/

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	A cross-platform C++ library for developing modular applications

USE_KDELIBS_VER=3
USE_AUTOMAKE=	yes
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
USE_REINPLACE=	yes
REINPLACE_ARGS=	-i ""

pre-configure:
	${REINPLACE_CMD} -e "s@-g -O2@${CXXFLAGS}@g; s@-O2@${CFLAGS}@g" \
		${WRKSRC}/configure ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/*/Makefile.in
	${REINPLACE_CMD} -e "s@autoheader@autoheader213@" ${WRKSRC}/aclocal.m4

post-install:
	${RM} -f ${PREFIX}/lib/libkore.la

.include <bsd.port.mk>