1996-10-15 16:49:27 -04:00
|
|
|
# New ports collection makefile for: lyx
|
1999-02-05 09:55:32 -05:00
|
|
|
# Version required: 1.0.0
|
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-04-18 16:54:54 -04:00
|
|
|
# $Id: Makefile,v 1.27 1999/03/15 09:27:25 dirk Exp $
|
1996-10-15 16:49:27 -04:00
|
|
|
#
|
|
|
|
|
1999-03-15 04:27:26 -05:00
|
|
|
DISTNAME= lyx-1.0.1
|
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
|
|
|
|
1997-10-09 17:04:47 -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-01-07 03:19:57 -05:00
|
|
|
# depends on xforms
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
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=
|
1997-12-23 20:21:47 -05:00
|
|
|
CONFIGURE_ARGS= --with-extra-lib=${X11BASE}/lib --with-extra-inc="${X11BASE}/include ${X11BASE}/include/X11"
|
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>
|