# New ports collection makefile for: kstars # Date created: Thu Sep 13 16:00:55 EDT 2001 # Whom: Patrick Li # # $FreeBSD$ # PORTNAME= kstars PORTVERSION= 0.8.5 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