freebsd-ports/astro/spacechart/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

38 lines
893 B
Makefile

# 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
PORTVERSION= 0.9.4
PORTREVISION= 7
CATEGORIES= astro
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= SpaceChart is a star chart viewer for GNOME
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomelibs
CONFIGURE_ARGS= --without-included-gettext --datadir=${PREFIX}/share
# trick it into using ports installed gettext
post-patch:
@${REINPLACE_CMD} -e 's|\(INTLLIBS =\).*$$|\1-I${LOCALBASE}/lib -lintl|' \
${WRKSRC}/src/Makefile.in
pre-build:
@${RM} -Rf ${WRKSRC}/intl
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>