aboutsummaryrefslogtreecommitdiff
path: root/misc/bookcase/Makefile
blob: 4436bf2e27816c138572427b1c1a25c9e9e1a039 (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
# New ports collection makefile for:	bookcase
# Date created:				11 May 2003
# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=	bookcase
PORTVERSION=	0.9.1
CATEGORIES=	misc kde
MASTER_SITES=	http://www.periapsis.org/bookcase/download/

MAINTAINER=	markus@FreeBSD.org
COMMENT=	Personal book collection manager for KDE

USE_KDELIBS_VER=3
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes

post-extract:
	${TOUCH} ${WRKSRC}/config.h.in

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
CFLAGS+=	-D__LIBSTDCPP_PARTIAL_SUPPORT__
.endif

.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>