Update w3m inline image support patch to 1.4. Add pkg-message for w3m-image slave ports.
Responsible Changed From-To: freebsd-ports->sf I'll handle this.
I assume that PORTREVISION should be overridable from slave ports. Updates only for w3m-image like this PR shouldn't bump revision of w3m MASTER port. Thoughts? Index: japanese/w3m-image/Makefile =================================================================== RCS file: /home/ncvs/ports/japanese/w3m-image/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- japanese/w3m-image/Makefile 2001/07/21 18:21:55 1.1 +++ japanese/w3m-image/Makefile 2001/07/26 07:09:37 @@ -11,6 +11,7 @@ MASTERDIR= ${.CURDIR}/../../www/w3m PKGDIR= ${.CURDIR} PLIST= ${MASTERDIR}/pkg-plist +PORTREVISION= 2 JAPANESE= Yes INLINE_IMAGE= yes Index: www/w3m/Makefile =================================================================== RCS file: /home/ncvs/ports/www/w3m/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- www/w3m/Makefile 2001/07/21 18:31:06 1.30 +++ www/w3m/Makefile 2001/07/26 07:10:05 @@ -7,7 +7,7 @@ PORTNAME= w3m PORTVERSION= 0.2.1 -PORTREVISION= 1 +PORTREVISION?= 1 CATEGORIES+= www ipv6 MASTER_SITES= ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/ \ http://mi.med.tohoku.ac.jp/~satodai/w3m/src/ \ @@ -66,16 +66,21 @@ .if defined(INLINE_IMAGE) PATCH_SITES= http://www2u.biglobe.ne.jp/~hsaka/w3m/patch/ -PATCHFILES= w3m-0.2.1-img-1.3.patch +PATCHFILES= w3m-0.2.1-img-1.4.patch EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-XMakefile USE_IMLIB= yes DOCS_JP+= README.img PLIST_SUB+= INLINE_IMAGE_ONLY="" + +PKGMESSAGE= ${MASTERDIR}/pkg-message .else EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-XMakefile.noimg PLIST_SUB+= INLINE_IMAGE_ONLY="@comment " + +# Don't use pkg-massage +PKGMESSAGE= ${NONEXISTENT} .endif pre-extract: @@ -112,6 +117,9 @@ @${INSTALL_MAN} ${WRKSRC}/doc/w3m.1 ${PREFIX}/man/man1 .if defined(JAPANESE) @${INSTALL_MAN} ${WRKSRC}/doc-jp/w3m.1 ${PREFIX}/man/ja/man1 +.endif +.if defined(INLINE_IMAGE) + @${CAT} ${PKGMESSAGE} .endif .include <bsd.port.post.mk> Index: www/w3m/distinfo =================================================================== RCS file: /home/ncvs/ports/www/w3m/distinfo,v retrieving revision 1.11 diff -u -r1.11 distinfo --- www/w3m/distinfo 2001/07/21 18:21:55 1.11 +++ www/w3m/distinfo 2001/07/26 07:05:55 @@ -1,2 +1,2 @@ MD5 (w3m-0.2.1.tar.gz) = 906c2506f570b563807bcd1d23fecea5 -MD5 (w3m-0.2.1-img-1.3.patch) = 33c68defc24791ac3439ddae4f8a7c47 +MD5 (w3m-0.2.1-img-1.4.patch) = 6c577ac4d28f010167c4cd7b56e85248 Index: www/w3m/pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- /dev/null Thu Jul 26 16:11:00 2001 +++ pkg-message Thu Jul 26 16:05:55 2001 @@ -0,0 +1,12 @@ +********************************************************** +* To display images in proper positions, * +* you should set font size of your terminal emulator to * +* "# of pixels per character" and "# of pixels per line" * +* in Option Setting Panel. * +* * +* For example, if you use 14 pixel fonts, the values * +* should be these. * +* * +* # of pixels per character = 7 * +* # of pixels per line = 14 * +********************************************************** Index: www/w3m-image/Makefile =================================================================== RCS file: /home/ncvs/ports/www/w3m-image/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- www/w3m-image/Makefile 2001/07/21 18:21:56 1.1 +++ www/w3m-image/Makefile 2001/07/26 07:09:58 @@ -10,6 +10,7 @@ MASTERDIR= ${.CURDIR}/../../www/w3m PKGDIR= ${.CURDIR} PLIST= ${MASTERDIR}/pkg-plist +PORTREVISION= 2 INLINE_IMAGE= yes
State Changed From-To: open->closed at last this update committed, thanks!