summaryrefslogtreecommitdiffstats
path: root/astro/kstars/Makefile
blob: 0fda326fa6a0e0c4ee9102bb2a16e0ebf8ab53fd (plain)
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
# New ports collection makefile for:	kstars
# Date created:				Thu Sep 13 16:00:55 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=	kstars
PORTVERSION=	0.8.2
CATEGORIES=	astro kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	pat@FreeBSD.org

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.2//}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_KDELIBS_VER=	2
CONFIGURE_ENV=	KDEDIR="${LOCALBASE}"

pre-patch:
	@${PERL} -pi.orig -e 's|-ljpeg6b|-ljpeg|; \
		s|-O2||' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud