1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/astro/spacechart/Makefile

42 lines
989 B
Makefile
Raw Normal View History

# New ports collection makefile for: spacechart
# Date created: Mon Aug 20 14:50:20 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# $FreeBSD$
#
PORTNAME= spacechart
2002-01-15 21:38:26 +00:00
PORTVERSION= 0.9.4
PORTREVISION= 2
CATEGORIES= astro
2001-12-17 21:02:23 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pat@FreeBSD.org
COMMENT= SpaceChart is a star chart viewer for GNOME
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomelibs
2001-12-17 21:02:23 +00:00
CONFIGURE_ARGS= --without-included-gettext --datadir=${PREFIX}/share
# trick it into using ports installed gettext
post-patch:
@${PERL} -pi -ne "s|(INTLLIBS =).*$$|\1-I${LOCALBASE}/lib -lintl|" \
${WRKSRC}/src/Makefile.in
pre-build:
@${RM} -Rf ${WRKSRC}/intl
2002-01-15 21:38:26 +00:00
post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/sample-spacechartrc ${PREFIX}/etc
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/coordinates.txt \
${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>