diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2004-01-12 11:17:20 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2004-01-12 11:17:20 +0800 |
commit | 9b72d331f7169d798758946ec95c0778ad1e86c8 (patch) | |
tree | 91d187a8ada204e085e75aee8b726e4b92cf6f91 /www/w3m/Makefile | |
parent | 24e55e3e1ef71646712561e61463b228c3513b1c (diff) | |
download | freebsd-ports-gnome-9b72d331f7169d798758946ec95c0778ad1e86c8.tar.gz freebsd-ports-gnome-9b72d331f7169d798758946ec95c0778ad1e86c8.tar.zst freebsd-ports-gnome-9b72d331f7169d798758946ec95c0778ad1e86c8.zip |
Update to 2004-01-11 snapshot of w3m 0.4.2.
Make portlint happy.
Diffstat (limited to 'www/w3m/Makefile')
-rw-r--r-- | www/w3m/Makefile | 70 |
1 files changed, 26 insertions, 44 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 89d46cf96bb4..5c08d104df0f 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -8,32 +8,26 @@ PORTNAME= w3m PORTVERSION= ${W3M_VERSION} CATEGORIES+= www ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= nobutaka +#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +#MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= w3m-${W3M_VERSION}.${SNAPDATE} MAINTAINER?= nobutaka@FreeBSD.org COMMENT?= A pager/text-based WWW browser -LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc +LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc \ + intl.5:${PORTSDIR}/devel/gettext -W3M_VERSION= 0.4.1 -M17N_VERSION= 20030308 -M17N_BASE_W3M_VERSION= 0.4.1 +W3M_VERSION= 0.4.2 +SNAPDATE= 20040111 -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes USE_REINPLACE= yes -CONFIGURE_ARGS= -nonstop --prefix=${PREFIX} \ - --libdir=${PREFIX}/libexec/w3m \ - --helpdir=${PREFIX}/share/doc/w3m \ - --gc-includedir=${LOCALBASE}/include \ - --gc-libdir=${LOCALBASE}/lib \ - -cflags="${CFLAGS}" -HOSTNAME!= /bin/hostname -SCRIPTS_ENV= HOSTNAME=${HOSTNAME} WRKSRC=${WRKSRC} PREFIX=${PREFIX} \ - CC=${CC} LOCALBASE=${LOCALBASE} JAPANESE=${JAPANESE} \ - USE_OPENSSL="${USE_OPENSSL}" SSL_CFLAGS="${SSL_CFLAGS}" \ - SSL_LIBS="${SSL_LIBS}" EXTRA_SSL_LIBS="${EXTRA_SSL_LIBS}" \ - INLINE_IMAGE=${INLINE_IMAGE} M17N=${M17N} + +CONFIGURE_ENV= DEFS="-I${LOCALBASE}/include" +WRKSRC= ${WRKDIR}/w3m MAN1= w3m.1 w3mman.1 MANLANG= "" ja @@ -44,42 +38,33 @@ DOCS= FAQ.html HISTORY MANUAL.html README \ .if !defined(WITHOUT_SSL) && exists(/usr/lib/libcrypto.so) USE_OPENSSL= yes +.else +CONFIGURE_ARGS+= --without-ssl .endif .if defined(M17N) -PORTVERSION:= ${M17N_BASE_W3M_VERSION}+${M17N_VERSION} -PKGNAMESUFFIX= -m17n - -MASTER_SITES= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/ -DISTNAME= ${PORTNAME}-${M17N_BASE_W3M_VERSION}-m17n-${M17N_VERSION} -CONFIGURE_ARGS+= --suffix="" - -PLIST_SUB+= M17N="" NO_M17N="@comment " +CONFIGURE_ARGS+= --enable-m17n +PLIST_SUB+= M17N="" .else -PLIST_SUB+= M17N="@comment " NO_M17N="" +.if !defined(JAPANESE) +CONFIGURE_ARGS+= --disable-m17n +PLIST_SUB+= M17N="@comment " +.endif .endif .if defined(JAPANESE) +CONFIGURE_ARGS+= --enable-m17n --enable-japanese=E --with-migemo=yes DOCS_JP= ${DOCS} README.SSL README.cookie README.keymap README.mailcap \ README.menu README.migemo -PLIST_SUB+= JAPANESE="" +PLIST_SUB+= JAPANESE="" M17N="" .else PLIST_SUB+= JAPANESE="@comment " .endif -.if defined(USE_OPENSSL) -SSL_CFLAGS= -I${OPENSSLINC}/openssl -I${OPENSSLINC} ${OPENSSL_CFLAGS} -SSL_LIBS= -L${OPENSSLLIB} -lssl -lcrypto - -MAKE_FLAGS+= DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \ - LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS} -L${LOCALBASE}/lib" -.else -MAKE_FLAGS+= DEFS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" -.endif - .if defined(INLINE_IMAGE) USE_GNOME= gdkpixbuf +CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf DOCS+= README.img DOCS_JP+= README.img @@ -87,16 +72,13 @@ PLIST_SUB+= INLINE_IMAGE="" PKGMESSAGE= ${MASTERDIR}/pkg-message .else +CONFIGURE_ARGS+= --enable-image=no PLIST_SUB+= INLINE_IMAGE="@comment " # Don't use pkg-message PKGMESSAGE= ${NONEXISTENT} .endif -.if defined(M17N) -.undef EXTRA_PATCHES -.endif - pre-everything:: .if defined(M17N) @${ECHO_MSG} "===>" @@ -139,7 +121,7 @@ post-install: for i in ${DOCS} ; do \ ${INSTALL_DATA} $$i ${PREFIX}/share/doc/w3m/ ; \ done -.if defined(M17N) +.if defined(M17N) || defined(JAPANESE) @${INSTALL_DATA} ${WRKSRC}/doc/README.m17n ${PREFIX}/share/doc/w3m .endif .endif |