summaryrefslogtreecommitdiff
path: root/astro/ksetisaver/Makefile
blob: 437c3bc1c325ef4feecad1fc93e5b9e630d87572 (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:	ksetisaver
# Date created:			18 January 2003
# Whom:				Scott A. Moberly <smoberly@karamazov.org>
#
# $FreeBSD$

PORTNAME=	ksetisaver
PORTVERSION=	0.3.4
PORTREVISION=	3
CATEGORIES=	astro kde
MASTER_SITES=	http://www.frozenlight.de/content/ksetisaver/

MAINTAINER=	smoberly@karamazov.org
COMMENT=	A KDE screensaver frontend for the Linux seti@home client

USE_KDELIBS_VER=3
USE_GMAKE=	yes
GNU_CONFIGURE=		yes
USE_REINPLACE=	yes

post-patch:
	${REINPLACE_CMD} -e "s,/opt/seti,/var/db/setiathome," \
		${WRKSRC}/ksetisaver/configdialogR2.cpp \
		${WRKSRC}/ksetisaver/configdialogR2.ui \
		${WRKSRC}/ksetisaver/configuration.cpp \
		${WRKSRC}/po/de.po \
		${WRKSRC}/po/fr.po \
		${WRKSRC}/po/zh_CN.GB2312.po \
		${WRKSRC}/po/ksetisaver.pot
	@${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>