[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / mlterm

Annotation of pkgsrc/x11/mlterm/Makefile, Revision 1.124

1.124   ! tsutsui     1: # $NetBSD: Makefile,v 1.123 2015/11/18 14:19:55 ryoon Exp $
1.1       agc         2:
1.124   ! tsutsui     3: DISTNAME=      mlterm-3.6.1
1.1       agc         4: CATEGORIES=    x11
                      5: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mlterm/}
                      6:
1.111     tsutsui     7: MAINTAINER=    tsutsui@NetBSD.org
1.1       agc         8: HOMEPAGE=      http://mlterm.sourceforge.net/
1.14      uebayasi    9: COMMENT=       Multilingual terminal emulator
1.57      obache     10: LICENSE=       modified-bsd
1.2       agc        11:
                     12: # CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
1.27      wiz        13: NOT_FOR_PLATFORM=      NetBSD-1.[0-4]*-* NetBSD-1.5[A-S]-*
1.1       agc        14:
1.44      joerg      15: USE_TOOLS+=            pkg-config msgfmt
1.7       jlam       16: USE_LIBTOOL=           yes
1.21      minskim    17: GNU_CONFIGURE=         yes
1.34      hira       18: USE_PKGLOCALEDIR=      yes
1.21      minskim    19:
1.34      hira       20: PKG_SYSCONFSUBDIR=     mlterm
                     21: EGDIR=                 ${PREFIX}/share/examples/mlterm
1.45      hira       22: .for f in aafont color font key main menu taafont termcap tfont vaafont vfont \
1.34      hira       23:        xim
1.45      hira       24: CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
1.34      hira       25: .endfor
1.32      hira       26:
1.14      uebayasi   27: CONFIGURE_ARGS+=       --without-libiconv-prefix
1.29      hira       28: CONFIGURE_ARGS+=       --without-libintl-prefix
1.61      ryoon      29: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
1.124   ! tsutsui    30: # XXX not yet
        !            31: CONFIGURE_ARGS+=       --disable-utmp
1.57      obache     32:
                     33: INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples
1.5       uebayasi   34:
1.83      tsutsui    35: .include "../../mk/bsd.prefs.mk"
1.46      hira       36: .include "options.mk"
                     37:
1.22      minskim    38: SUBST_CLASSES+=                link
1.83      tsutsui    39: SUBST_MESSAGE.link=    Fixing hardcoded paths and link options in Makefiles.
1.22      minskim    40: SUBST_STAGE.link=      post-patch
1.29      hira       41: SUBST_FILES.link=      Makefile.in */Makefile.in */*/Makefile.in \
1.83      tsutsui    42:                        */*/*/Makefile.in
1.61      ryoon      43: SUBST_SED.link=                -e 's|(LIBTOOL_LINK).*(LIBS)|& ${X11_LDFLAGS:M*:Q}|g'
                     44: SUBST_SED.link+=       -e 's|(LIBTOOL_LINK).*(LIBDIR)|& ${X11_LDFLAGS:M*:Q}|g'
1.45      hira       45: SUBST_SED.link+=       -e 's|/usr/local/|${PREFIX}/|g'
1.61      ryoon      46: SUBST_SED.link+=       -e 's|/usr/X11R7/|${X11BASE}/|g'
1.1       agc        47:
1.83      tsutsui    48: SUBST_CLASSES+=                man
                     49: SUBST_MESSAGE.man=     Fixing hardcoded paths in man pages.
                     50: SUBST_STAGE.man=       post-patch
                     51: SUBST_FILES.man=       man/mlterm.1
                     52: SUBST_SED.man=         -e 's|/usr/X11R6/lib/X11/mlterm/|${PKG_SYSCONFDIR}/|g'
                     53: SUBST_SED.man+=                -e 's|/usr/X11R6/include/|${X11BASE}/include/|g'
                     54:
                     55: SUBST_CLASSES+=                conf
                     56: SUBST_MESSAGE.conf=    Fixing hardcoded paths in config files.
                     57: SUBST_STAGE.conf=      post-patch
                     58: SUBST_FILES.conf=      etc/font-fb
                     59: SUBST_SED.conf=                -e 's|/usr/X11R7/|${X11BASE}/|g'
                     60: SUBST_SED.conf+=       -e 's|/usr/pkg/|${PREFIX}/|g'
                     61:
1.51      joerg      62: BUILDLINK_DEPMETHOD.libXt?=    build
                     63:
1.83      tsutsui    64: INSTALLATION_DIRS=     share/doc/mlterm share/doc/mlterm/en share/doc/mlterm/ja
                     65:
                     66: post-install:
                     67: .for f in FAQ PROTOCOL README.bidi README.fb README.indic README.xim
                     68:        ${INSTALL_DATA} ${WRKSRC}/doc/en/${f} \
                     69:                ${DESTDIR}${PREFIX}/share/doc/mlterm/en
                     70: .endfor
                     71: .for f in BUGS FAQ README.aafont README.comb README.confapp README.fb \
                     72:                README.fontproto README.ja README.pty README.server \
                     73:                README.tate README.utf8 README.xim
                     74:        ${INSTALL_DATA} ${WRKSRC}/doc/ja/${f} \
                     75:                ${DESTDIR}${PREFIX}/share/doc/mlterm/ja
                     76: .endfor
                     77:
1.21      minskim    78: .include "../../converters/libiconv/buildlink3.mk"
1.29      hira       79: .include "../../devel/gettext-lib/buildlink3.mk"
                     80: .include "../../x11/gtk2/buildlink3.mk"
1.51      joerg      81: .include "../../x11/libSM/buildlink3.mk"
                     82: .include "../../x11/libX11/buildlink3.mk"
                     83: .include "../../x11/libXt/buildlink3.mk"
1.1       agc        84: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>