diff options
author | taoka <taoka@FreeBSD.org> | 2000-02-09 00:03:55 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2000-02-09 00:03:55 +0800 |
commit | 8bf9985ef224049208ae8cf901f32c2d4290ac9a (patch) | |
tree | c13d935d48abd0286d5d692c546347503d99e3c7 /japanese/jed/Makefile | |
parent | e358fa9bf27946f4d1672c26127d38cd873a66d2 (diff) | |
download | freebsd-ports-gnome-8bf9985ef224049208ae8cf901f32c2d4290ac9a.tar.gz freebsd-ports-gnome-8bf9985ef224049208ae8cf901f32c2d4290ac9a.tar.zst freebsd-ports-gnome-8bf9985ef224049208ae8cf901f32c2d4290ac9a.zip |
A SLang-based text editor (w/ Japanese support)
PR: 16576
Submitted by: "Akinori -Aki- MUSHA" <knu@idaemons.org>
Diffstat (limited to 'japanese/jed/Makefile')
-rw-r--r-- | japanese/jed/Makefile | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/japanese/jed/Makefile b/japanese/jed/Makefile new file mode 100644 index 000000000000..64a5f5a29328 --- /dev/null +++ b/japanese/jed/Makefile @@ -0,0 +1,104 @@ +# New ports collection makefile for: Jed text editor w/ Japanese support +# Version required: 0.99.8.j067 +# Date created: 2 Feb 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +DISTNAME= jed-B0.99-8__J067 +PKGNAME= ja-jed-0.99.8.j067 +CATEGORIES= japanese editors +MASTER_SITES= http://knu.and.or.jp/ports/distfiles/ \ + http://www.idaemons.org/ports/distfiles/ \ + http://kondara.sdri.co.jp/~kikutani/slang/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + jed-extralibs-0.99.8${EXTRACT_SUFX} + +MAINTAINER= knu@idaemons.org + +LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang \ + ${LIBDEP_CANNA} + +DIST_SUBDIR= jed +GNU_CONFIGURE= yes +CONFIGURE_ENV= JED_ROOT="${JED_ROOT}" X_EXTRA_LIBS="-lxpg4 -lcurses" +CONFIGURE_ARGS= --enable-x-locale=no --with-canna="${WITH_CANNA}" +ALL_TARGET= ${BINSTUFF} getmail +MAN1= jed.1 rgrep.1 + +JED_ROOT= ${PREFIX}/lib/jed +BINSTUFF= jed rgrep + +.include <bsd.port.pre.mk> + +.if defined(NO_CANNA) +WITH_CANNA= no +.else +WITH_CANNA= yes +LIBDEP_CANNA= canna.1:${PORTSDIR}/japanese/Canna +.endif + +# XJED core dumps on 3.x-STABLE for the present. +.if ${OSVERSION} < 400000 +XJED_BROKEN= yes +.endif + +.if defined(NO_X11) +NO_XJED= yes +.endif + +.if defined(NO_XJED) +PLIST_SUB= XJED_ENTRY="@comment xjed is not installed" +.else +USE_XLIB= yes +BINSTUFF+= xjed +PLIST_SUB= XJED_ENTRY="bin/xjed" +.endif + +_OBJDIR= ${WRKSRC}/src/${ARCH}objs +_DOCDIR= ${WRKSRC}/doc +_INFODIR= ${WRKSRC}/info +_LIBDIR= ${WRKSRC}/lib + +pre-fetch: +.if !defined(NO_CANNA) + @${ECHO_MSG} "To build this port without Canna, define \"NO_CANNA\"." +.endif +.if !defined(NO_XJED) +.if defined(XJED_BROKEN) + @${ECHO_MSG} "Sorry, I will not build xjed since it is broken on 3.x-STABLE for the present." +.else + @${ECHO_MSG} "To build this port without xjed, define \"NO_XJED\"." +.endif +.endif + +post-extract: + @cd ${WRKDIR} && ${MV} *.sl ${_LIBDIR}/ + +do-install: + @${MKDIR} ${JED_ROOT} +.for d in bin doc lib lib/colors lib/tm + @${MKDIR} ${JED_ROOT}/${d} +.endfor +.for f in ${BINSTUFF} + ${INSTALL_PROGRAM} ${_OBJDIR}/${f} ${PREFIX}/bin/ +.endfor + ${INSTALL_PROGRAM} ${_OBJDIR}/getmail ${JED_ROOT}/bin/ + ${INSTALL_DATA} ${_LIBDIR}/*.sl ${_LIBDIR}/*.dat ${_LIBDIR}/*.hlp ${_LIBDIR}/jed.rc ${JED_ROOT}/lib/ + ${INSTALL_DATA} ${_LIBDIR}/colors/* ${JED_ROOT}/lib/colors/ + ${INSTALL_DATA} ${_LIBDIR}/tm/* ${JED_ROOT}/lib/tm/ +.for f in ${MAN1} + ${INSTALL_MAN} ${_DOCDIR}/${f} ${PREFIX}/man/man1/ +.endfor + ${INSTALL_DATA} ${_INFODIR}/jed.* ${PREFIX}/info/ + @install-info ${PREFIX}/info/jed.info ${PREFIX}/info/dir +.if !defined(NOPORTDOCS) + @${MKDIR} ${JED_ROOT}/doc/ + ${INSTALL_DATA} ${_DOCDIR}/README ${_DOCDIR}/*.txt ${_DOCDIR}/jed.tex ${WRKSRC}/jed-j.doc ${JED_ROOT}/doc/ +.endif + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.post.mk> |