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

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

1.97    ! tsutsui     1: # $NetBSD: Makefile,v 1.96 2013/11/30 22:28:41 tsutsui Exp $
1.1       agc         2:
1.96      tsutsui     3: DISTNAME=      mlterm-3.3.1
1.97    ! tsutsui     4: PKGREVISION=   1
1.1       agc         5: CATEGORIES=    x11
                      6: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mlterm/}
                      7:
1.60      wiz         8: MAINTAINER=    uebayasi@NetBSD.org
1.1       agc         9: HOMEPAGE=      http://mlterm.sourceforge.net/
1.14      uebayasi   10: COMMENT=       Multilingual terminal emulator
1.57      obache     11: LICENSE=       modified-bsd
1.2       agc        12:
                     13: # CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
1.27      wiz        14: NOT_FOR_PLATFORM=      NetBSD-1.[0-4]*-* NetBSD-1.5[A-S]-*
1.1       agc        15:
1.44      joerg      16: USE_TOOLS+=            pkg-config msgfmt
1.7       jlam       17: USE_LIBTOOL=           yes
1.21      minskim    18: GNU_CONFIGURE=         yes
1.34      hira       19: USE_PKGLOCALEDIR=      yes
1.21      minskim    20:
1.34      hira       21: PKG_SYSCONFSUBDIR=     mlterm
                     22: EGDIR=                 ${PREFIX}/share/examples/mlterm
1.45      hira       23: .for f in aafont color font key main menu taafont termcap tfont vaafont vfont \
1.34      hira       24:        xim
1.45      hira       25: CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
1.34      hira       26: .endfor
1.32      hira       27:
1.29      hira       28: CONFIGURE_ARGS+=       --with-imagelib=gdk-pixbuf
1.14      uebayasi   29: CONFIGURE_ARGS+=       --without-libiconv-prefix
1.29      hira       30: CONFIGURE_ARGS+=       --without-libintl-prefix
1.61      ryoon      31: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
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"
1.77      tsutsui    80: .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
1.29      hira       81: .include "../../x11/gtk2/buildlink3.mk"
1.51      joerg      82: .include "../../x11/libSM/buildlink3.mk"
                     83: .include "../../x11/libX11/buildlink3.mk"
                     84: .include "../../x11/libXt/buildlink3.mk"
1.1       agc        85: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>