1996-10-15 16:49:27 -04:00
|
|
|
# New ports collection makefile for: lyx
|
1999-05-05 10:09:36 -04:00
|
|
|
# Version required: 1.0.2
|
1996-10-15 16:49:27 -04:00
|
|
|
# Date created: Sa 12 Okt 1996 19:20:51 MET DST
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
1996-10-15 16:49:27 -04:00
|
|
|
#
|
|
|
|
|
1999-07-05 15:19:10 -04:00
|
|
|
DISTNAME= lyx-1.0.3
|
1996-11-17 03:45:20 -05:00
|
|
|
CATEGORIES= print
|
1999-02-05 09:55:32 -05:00
|
|
|
MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/ \
|
|
|
|
ftp://la1ad.uio.no/pub/lyx/ \
|
|
|
|
ftp://alpha.tat.physik.uni-tuebingen.de/pub/lyx/stable/ \
|
|
|
|
ftp://ftp.sdsc.edu/pub/other/lyx/stable/
|
1996-10-15 16:49:27 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= andreas@FreeBSD.org
|
1996-10-15 19:41:41 -04:00
|
|
|
|
1996-10-15 16:49:27 -04:00
|
|
|
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
1998-08-01 05:07:02 -04:00
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
|
|
|
.if defined(WITH_ISPELL)
|
|
|
|
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
.endif
|
1998-09-26 19:18:10 -04:00
|
|
|
LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms \
|
1998-09-16 20:33:02 -04:00
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-10-15 16:49:27 -04:00
|
|
|
|
1999-03-15 04:27:26 -05:00
|
|
|
USE_PERL5= yes
|
1996-10-15 16:49:27 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1998-05-12 03:19:48 -04:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
|
1997-10-24 11:18:16 -04:00
|
|
|
STRIP=
|
1999-07-05 15:19:10 -04:00
|
|
|
CONFIGURE_ARGS= --with-extra-lib=${X11BASE}/lib --with-extra-inc="${X11BASE}/include ${X11BASE}/include/X11 ${LOCALBASE}/include"
|
1998-12-28 16:18:07 -05:00
|
|
|
MAN1= lyx.1 reLyX.1
|
1996-10-15 16:49:27 -04:00
|
|
|
|
1998-08-01 05:07:02 -04:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WITH_ISPELL)
|
1999-04-18 16:54:54 -04:00
|
|
|
@${ECHO_MSG} "If you want this port built with spell checker support, use"
|
1998-08-01 05:07:02 -04:00
|
|
|
@${ECHO_MSG} "make WITH_ISPELL=yes"
|
|
|
|
.endif
|
|
|
|
|
1997-10-29 13:26:01 -05:00
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/lyx
|
|
|
|
|
1996-10-15 16:49:27 -04:00
|
|
|
.include <bsd.port.mk>
|