2001-08-30 04:22:36 +00:00
|
|
|
# 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
|
2004-02-04 04:36:30 +00:00
|
|
|
PORTREVISION= 3
|
2001-08-30 04:22:36 +00:00
|
|
|
CATEGORIES= astro
|
2001-12-17 21:02:23 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-08-30 04:22:36 +00:00
|
|
|
|
2001-11-15 03:59:42 +00:00
|
|
|
MAINTAINER= pat@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= SpaceChart is a star chart viewer for GNOME
|
2001-08-30 04:22:36 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2001-08-30 04:22:36 +00:00
|
|
|
USE_X_PREFIX= yes
|
2003-08-31 04:53:11 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-08-30 04:22:36 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-08-30 03:20:23 +00:00
|
|
|
USE_GNOME= gnomelibs
|
2001-12-17 21:02:23 +00:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext --datadir=${PREFIX}/share
|
2001-08-30 04:22:36 +00:00
|
|
|
|
|
|
|
# trick it into using ports installed gettext
|
|
|
|
post-patch:
|
2003-08-31 04:53:11 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|\(INTLLIBS =\).*$$|\1-I${LOCALBASE}/lib -lintl|' \
|
2001-08-30 04:22:36 +00:00
|
|
|
${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
|
|
|
|
|
2001-08-30 04:22:36 +00:00
|
|
|
.include <bsd.port.mk>
|