summaryrefslogtreecommitdiffstats
path: root/print/cjk-lyx/Makefile
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2003-02-19 00:59:16 +0000
committercjh <cjh@FreeBSD.org>2003-02-19 00:59:16 +0000
commit83aa76d4439230f457025e331feb0f8cf0988ddf (patch)
treec4943aba563862011342c6041997b7addc58bc7a /print/cjk-lyx/Makefile
parent793383cfb5c0a01ba60a9b4afbd461ec81c39bb1 (diff)
downloadFreeBSD-ports-83aa76d4439230f457025e331feb0f8cf0988ddf.zip
FreeBSD-ports-83aa76d4439230f457025e331feb0f8cf0988ddf.tar.gz
Update to 1.2.3.
PR: ports/46946 Submitted by: Ports Fury
Diffstat (limited to 'print/cjk-lyx/Makefile')
-rw-r--r--print/cjk-lyx/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/print/cjk-lyx/Makefile b/print/cjk-lyx/Makefile
index 33b82bb..7ef5dcf 100644
--- a/print/cjk-lyx/Makefile
+++ b/print/cjk-lyx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lyx
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.3
CATEGORIES= print
MASTER_SITES= ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX/
PKGNAMEPREFIX= cjk-
@@ -28,11 +28,12 @@ USE_REINPLACE= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 15
-AUTOMAKE= ${WRKSRC}/autogen.sh
-AUTOCONF= ${TRUE}
CONFIGURE_ENV= CPPFLAGS="-DI18N"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \
--with-extra-inc="${LOCALBASE}/include"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
MAN1= lyx.1 reLyX.1
.if defined(WITH_ASPELL)
@@ -61,12 +62,13 @@ 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 ; \
- s|^INSTALL_SCRIPT=|#INSTALL_SCRIPT=|g'
+.for file in src/Makefile.am src/frontends/Makefile.am
+ @${REINPLACE_CMD} -e 's|LIBS +=|LDFLAGS = @LDFLAGS@|g' ${WRKSRC}/${file}
+.endfor
+.for file in configure.in lib/reLyX/configure.in
+ @${REINPLACE_CMD} -e 's|AC_CHECK_LIB(c,|AC_CHECK_FUNC(|g ; \
+ s|^INSTALL_SCRIPT=|#INSTALL_SCRIPT=|g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
OpenPOWER on IntegriCloud