summaryrefslogtreecommitdiffstats
path: root/japanese/mendexk-euc
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-07-14 06:03:44 +0000
committernork <nork@FreeBSD.org>2003-07-14 06:03:44 +0000
commit48f0aa1c13ba30847e36986c3380205a5a98fc1f (patch)
treeb7530874ce2968b5cfa23fa91f8dcbaeaf86dd71 /japanese/mendexk-euc
parent06ef944b106e69ac0aa63a01bcad1ddafcc52493 (diff)
downloadFreeBSD-ports-48f0aa1c13ba30847e36986c3380205a5a98fc1f.zip
FreeBSD-ports-48f0aa1c13ba30847e36986c3380205a5a98fc1f.tar.gz
Update to 2.5.
PR: ports-jp/13827 Submitted by: SHIOZAKI Takehiko <st@be.to> Approved by: maintainer timeout (3 weeks)
Diffstat (limited to 'japanese/mendexk-euc')
-rw-r--r--japanese/mendexk-euc/Makefile32
-rw-r--r--japanese/mendexk-euc/distinfo3
-rw-r--r--japanese/mendexk-euc/files/patch-aa28
3 files changed, 47 insertions, 16 deletions
diff --git a/japanese/mendexk-euc/Makefile b/japanese/mendexk-euc/Makefile
index a79ee0d..bf04cf7 100644
--- a/japanese/mendexk-euc/Makefile
+++ b/japanese/mendexk-euc/Makefile
@@ -6,32 +6,33 @@
#
PORTNAME= mendexk
-PORTVERSION= 2.4d
-PKGNAMESUFFIX= -euc
+PORTVERSION= 2.5
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/ \
- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/web2c/
+MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/
+PKGNAMESUFFIX= -euc
DISTNAME= ${PORTNAME}${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${KPATHSEA_PARENT}${EXTRACT_SUFX}
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
COMMENT= Index formatter for Japanese (EUC)
+EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/japanese/ptex-base:configure
+
USE_GMAKE= yes
-DIST_SUBDIR= ptex
+DIST_SUBDIR= teTeX
+WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../ptex-base/work/tetex-src-${TETEX_VERSION}/texk/${DISTNAME}
+ALL_TARGET= mendex
+
+TETEX_VERSION= 2.0.2
MANLANG= ja
MAN1= mendex.1
-KPATHSEA_PARENT= web2c-7.2
-
-pre-configure:
- @( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
- ./configure --prefix=${PREFIX} )
+post-extract:
+ @${RM} -rf ${WRKSRC}
+ @${MV} ${WRKDIR}/${DISTNAME} ${WRKSRC}
-do-build:
- @( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; ${GMAKE} )
- @( cd ${WRKSRC} ; ${MAKE} kpathsea_parent=../${KPATHSEA_PARENT} )
+pre-build:
+ @(cd ${WRKSRC}/../kpathsea; ${MAKE})
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mendex ${PREFIX}/bin
@@ -42,4 +43,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mendex
.endif
+pre-clean:
+ @${RM} -rf ${WRKSRC}
+
.include <bsd.port.mk>
diff --git a/japanese/mendexk-euc/distinfo b/japanese/mendexk-euc/distinfo
index d6486fd..2c83592 100644
--- a/japanese/mendexk-euc/distinfo
+++ b/japanese/mendexk-euc/distinfo
@@ -1,2 +1 @@
-MD5 (ptex/mendexk2.4d.tar.gz) = 74c36aeeff187e7208a2fa8c26226f94
-MD5 (ptex/web2c-7.2.tar.gz) = 1451b51656d9624bee4052f6688af4cf
+MD5 (teTeX/mendexk2.5.tar.gz) = 055a239a389711ede327438677f0ed95
diff --git a/japanese/mendexk-euc/files/patch-aa b/japanese/mendexk-euc/files/patch-aa
new file mode 100644
index 0000000..e136847
--- /dev/null
+++ b/japanese/mendexk-euc/files/patch-aa
@@ -0,0 +1,28 @@
+--- Makefile.orig Mon Jan 21 15:12:48 2002
++++ Makefile Mon Jun 23 16:17:52 2003
+@@ -1,4 +1,3 @@
+-CC = gcc
+ CCLD =$(CC)
+ PROGRAM = mendex
+
+@@ -9,16 +8,16 @@
+ # CFLAGS と PROGLINK を kpathsea ライブラリに合わせて選択する
+ #
+ # for kpathsea-3.*
+-#CFLAGS = -O -DKPATHSEA -DKPATHSEA3
+-#PROGLINK = $(kpathsea_link) $(OBJS) $(kpathsea_3)
++CFLAGS = -O -DKPATHSEA -DKPATHSEA3
++PROGLINK = $(kpathsea_link) $(OBJS) $(kpathsea_3)
+
+ # for kpathsea-2.6
+ #CFLAGS = -O -DKPATHSEA
+ #PROGLINK = $(CC) $(OBJS) -o $(PROGRAM) $(kpathsea_2)
+
+ # for no kpathsea
+-CFLAGS = -O
+-PROGLINK = $(CC) $(OBJS) -o $(PROGRAM)
++#CFLAGS = -O
++#PROGLINK = $(CC) $(OBJS) -o $(PROGRAM)
+
+ OBJS = main.o convert.o sort.o fread.o fwrite.o styfile.o pageread.o kp.o
+ LIBTOOL =$(kpathsea_parent)/klibtool
OpenPOWER on IntegriCloud