blob: 14e77d94dd4109b12fdc9a98b57e1c8f4414b6f2 (
plain) (
blame)
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
27
28
29
30
31
32
33
|
# 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.2
CATEGORIES= astro
MASTER_SITES= http://zipi.fi.upm.es/~e970095/spacechart/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
EXTRACT_SUFX= .tgz
MAINTAINER= pat@databits.net
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GNOMELIBS= yes
CONFIGURE_ARGS= --without-included-gettext
# 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
.include <bsd.port.mk>
|