summaryrefslogtreecommitdiffstats
path: root/print/cjk-lyx/Makefile
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2002-11-17 02:20:06 +0000
committercjh <cjh@FreeBSD.org>2002-11-17 02:20:06 +0000
commitb197292a222679e795113b340f258069a5ff92fa (patch)
tree60e2c03bbe6cf58e2bccbc87212fb237eea21af2 /print/cjk-lyx/Makefile
parent4001b973ffe1f4cad1b3ed965de3be35a688370b (diff)
downloadFreeBSD-ports-b197292a222679e795113b340f258069a5ff92fa.zip
FreeBSD-ports-b197292a222679e795113b340f258069a5ff92fa.tar.gz
Update to 1.2.1 and unbroke ports.
PR: ports/43705 Submitted by: Ports Fury
Diffstat (limited to 'print/cjk-lyx/Makefile')
-rw-r--r--print/cjk-lyx/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index 3d1ee45..33b82bb 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= lyx
-PORTVERSION= 1.2.0
-PORTREVISION= 1
+PORTVERSION= 1.2.1
CATEGORIES= print
MASTER_SITES= ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX/
PKGNAMEPREFIX= cjk-
@@ -15,8 +14,6 @@ DISTNAME= CJK-LyX-${PORTVERSION}-src
MAINTAINER= cjh@FreeBSD.org
-BROKEN= "Does not compile"
-
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
latex:${PORTSDIR}/print/teTeX
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
@@ -31,17 +28,18 @@ USE_REINPLACE= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 15
-USE_XPM= yes
AUTOMAKE= ${WRKSRC}/autogen.sh
AUTOCONF= ${TRUE}
CONFIGURE_ENV= CPPFLAGS="-DI18N"
-CONFIGURE_ARGS= --with-extra-lib="${X11BASE}/lib ${LOCALBASE}/lib" \
- --with-extra-inc="${X11BASE}/include ${LOCALBASE}/include"
+CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \
+ --with-extra-inc="${LOCALBASE}/include"
MAN1= lyx.1 reLyX.1
.if defined(WITH_ASPELL)
LIB_DEPENDS+= aspell.15:${PORTSDIR}/textproc/aspell
-CONFIGURE_ARGS+= --with-pspell
+CONFIGURE_ARGS+= --with-pspell \
+ --with-pspell-lib="${LOCALBASE}/lib" \
+ --with-pspell-include="${LOCALBASE}/include"
.endif
.if defined(WITH_ISPELL)
@@ -63,6 +61,9 @@ pre-everything::
@${ECHO_MSG}
.endif
+post-extract:
+ @${CP} -f ${FILESDIR}/xforms.m4 ${WRKSRC}/config
+
post-patch:
@${FIND} ${WRKSRC} -name "configure.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|AC_CHECK_LIB(c,|AC_CHECK_FUNC(|g ; \
OpenPOWER on IntegriCloud