[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / w3m

Annotation of pkgsrc/www/w3m/Makefile.common, Revision 1.53

1.53    ! wiz         1: # $NetBSD: Makefile.common,v 1.52 2008/12/13 08:09:41 obache Exp $
1.1       kei         2: #
                      3:
                      4: DISTNAME=      w3m-${W3M_VERS}
                      5: CATEGORIES=    www
1.24      uebayasi    6: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=w3m/}
1.1       kei         7:
1.47      uebayasi    8: MAINTAINER=    kei@NetBSD.org, uebayasi@NetBSD.org
1.24      uebayasi    9: HOMEPAGE=      http://w3m.sourceforge.net/
1.1       kei        10:
1.24      uebayasi   11: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.50      uebayasi   12: PKG_DESTDIR_SUPPORT=   user-destdir
1.53    ! wiz        13: MAKE_JOBS_SAFE=                no
1.1       kei        14:
1.41      rillig     15: GNU_CONFIGURE= yes
1.34      jlam       16: USE_TOOLS+=    gmake   # Needed for some combinations of options...
1.44      joerg      17: USE_TOOLS+=    msgfmt
1.46      dmcmahil   18: USE_PKGLOCALEDIR=       yes
1.1       kei        19:
1.47      uebayasi   20: W3M_VERS=      0.5.2
1.1       kei        21:
1.28      wiz        22: # For w3mman, xface2xpm, cgi scripts.
1.49      joerg      23: USE_TOOLS+=    perl:run pax
1.24      uebayasi   24:
                     25: DOCDIR=                share/doc/w3m
1.1       kei        26:
1.38      wiz        27: _W3M_USE_IMAGE?=       NO
                     28:
1.36      wiz        29: .include "options.mk"
1.24      uebayasi   30:
1.36      wiz        31: .include "../../mk/bsd.prefs.mk"
                     32:
1.24      uebayasi   33: # Configurable by environment variables at run-time.
                     34: CONFIGURE_ARGS+=       --with-charset=US-ASCII
                     35:
                     36: # This *should* be set at run-time.
                     37: CONFIGURE_ARGS+=       --disable-messagel10n
                     38:
                     39: CONFIGURE_ARGS+=       --disable-help_cgi
                     40: CONFIGURE_ARGS+=       --enable-color
                     41: CONFIGURE_ARGS+=       --enable-cookie
                     42: CONFIGURE_ARGS+=       --enable-mouse
                     43: CONFIGURE_ARGS+=       --with-browser=
1.48      jlam       44: CONFIGURE_ARGS+=       --with-termlib
1.24      uebayasi   45: CONFIGURE_ARGS+=       --with-editor=vi
1.48      jlam       46: CONFIGURE_ARGS+=       --with-gc=${BUILDLINK_PREFIX.boehm-gc:Q}
1.42      rillig     47: CONFIGURE_ARGS+=       --with-mailer=${MAIL_CMD:Q}
                     48: CONFIGURE_ARGS+=       --with-ssl=${SSLBASE:Q}
                     49: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
1.24      uebayasi   50:
                     51: SUBST_CLASSES+=                man-ja
1.43      rillig     52: SUBST_MESSAGE.man-ja=  Fixing the path to Japanese manual pages.
1.24      uebayasi   53: SUBST_STAGE.man-ja=    post-patch
                     54: SUBST_FILES.man-ja=    Makefile.in config.h.dist
                     55: SUBST_SED.man-ja=      -e 's|/ja/|/ja_JP.eucJP/|g'
                     56:
1.1       kei        57: post-extract:
1.15      uebayasi   58:        @cd ${WRKSRC}/doc; ${RM} -fr CVS
                     59:        @cd ${WRKSRC}/doc-jp; ${RM} -fr CVS
                     60:        @cd ${WRKSRC}; ${RM} -fr gc
1.1       kei        61:
1.50      uebayasi   62: INSTALLATION_DIRS+=    ${DOCDIR}
                     63:
1.51      obache     64: INSTALL_TARGET=                install install-helpfile
                     65:
1.24      uebayasi   66: post-install:
1.49      joerg      67:        # Use pax to discard uid/gid.  Exclude manuals (*.1).
                     68:        @cd ${WRKSRC}; pax -w -s ',.*\.1$$,,' doc doc-jp | \
1.50      uebayasi   69:            ( cd ${DESTDIR}${PREFIX}/${DOCDIR}; pax -r )
1.24      uebayasi   70:
                     71: .include "../../devel/boehm-gc/buildlink3.mk"
1.45      dmcmahil   72: .include "../../devel/gettext-lib/buildlink3.mk"
1.31      minskim    73: .include "../../devel/zlib/buildlink3.mk"
1.24      uebayasi   74: .include "../../security/openssl/buildlink3.mk"
1.48      jlam       75: .include "../../mk/termcap.buildlink3.mk"
1.1       kei        76: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>