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