Date: Thu, 3 Dec 2009 23:47:09 GMT From: Aragon Gouveia <aragon@phat.za.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141152: [patch] x11-toolkits/evilvte version upgrade Message-ID: <200912032347.nB3Nl9d5064667@www.freebsd.org> Resent-Message-ID: <200912032350.nB3No152016822@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141152 >Category: ports >Synopsis: [patch] x11-toolkits/evilvte version upgrade >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 03 23:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Aragon Gouveia >Release: 8.0-STABLE >Organization: >Environment: FreeBSD fuzz.geek.sh 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Dec 2 15:23:34 SAST 2009 root@igor.geek.sh:/usr/obj/usr/src/sys/FUZZ amd64 >Description: Attached patch updates evilvte to 0.4.5 and adds a port knob for defining a custom config.h file. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ur evilvte.orig/Makefile evilvte/Makefile --- evilvte.orig/Makefile 2009-09-03 22:21:14.000000000 +0200 +++ evilvte/Makefile 2009-12-04 01:43:45.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= evilvte -PORTVERSION= 0.4.4 -PORTREVISION= 3 +PORTVERSION= 0.4.5 CATEGORIES= x11-toolkits gnome MASTER_SITES= http://www.calno.com/${PORTNAME}/ \ LOCAL/chinsan/${PORTNAME}/ @@ -20,9 +19,22 @@ MAN1= evilvte.1 showvte.1 +pre-everything:: +.if !defined(EVILVTE_CONF) + @${ECHO_MSG} + @${ECHO_MSG} "!! NOTE !!" + @${ECHO_MSG} + @${ECHO_MSG} "You can build evilvte with your own config.h using the EVILVTE_CONF knob:" + @${ECHO_MSG} "make EVILVTE_CONF=/path/to/evilvte-config.h install clean" + @${ECHO_MSG} +.endif + post-patch: - @${REINPLACE_CMD} -e '40,41 d' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|\(FONT_SIZE\).*|\1 12|' ${WRKSRC}/src/config.h + @${REINPLACE_CMD} -e '53,54 d' ${WRKSRC}/Makefile +.if defined(EVILVTE_CONF) + @${ECHO_MSG} "creating config.h from ${EVILVTE_CONF}" + @${CP} ${EVILVTE_CONF} ${WRKSRC}/src/config.h +.endif post-install: # install manual diff -ur evilvte.orig/distinfo evilvte/distinfo --- evilvte.orig/distinfo 2009-03-25 15:01:05.000000000 +0200 +++ evilvte/distinfo 2009-12-03 22:56:06.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (evilvte-0.4.4.tar.gz) = d8feeca8138aacc99e315fcb86018348 -SHA256 (evilvte-0.4.4.tar.gz) = d85d16c3adf868b7f973467b22a503fbbb92254a3147d8db81aeecd28b8fb53f -SIZE (evilvte-0.4.4.tar.gz) = 36871 +MD5 (evilvte-0.4.5.tar.gz) = 3193ea2fce163a8a99ce876c4e9b2d28 +SHA256 (evilvte-0.4.5.tar.gz) = c9dccc8e59cfd58fccd6fb88fb07070f2722b755ab7e18f7717533342f49f60f +SIZE (evilvte-0.4.5.tar.gz) = 37088 Only in evilvte.orig: work >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912032347.nB3Nl9d5064667>