ports/93070: [PATCH] textproc/htmlize.el update port to 1.30
Andrey Slusar
anray at freebsd.org
Fri Feb 10 19:30:23 UTC 2006
The following reply was made to PR ports/93070; it has been noted by GNATS.
From: Andrey Slusar <anray at freebsd.org>
To: linimon at lonesome.com (Mark Linimon)
Cc: freebsd-gnats-submit at freebsd.org, Trix Farrar <trix at basement.net>
Subject: Re: ports/93070: [PATCH] textproc/htmlize.el update port to 1.30
Date: Fri, 10 Feb 2006 21:23:01 +0200
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
See my patch.
It's more better - use bsd.emacs.mk features, add bytecomile, add
changable EMACS_PORT_NAME for support other emacsen, use PLIST_FILES
instead of pkg-plist.
--=-=-=
Content-Type: text/x-patch; charset=iso-8859-1
Content-Disposition: inline; filename=htmlize.el.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/htmlize.el/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 26 Nov 2005 07:15:50 -0000 1.2
+++ Makefile 10 Feb 2006 19:11:38 -0000
@@ -6,26 +6,32 @@
#
PORTNAME= htmlize.el
-PORTVERSION= 1.16
+PORTVERSION= 1.30
CATEGORIES= textproc elisp
MASTER_SITES= http://fly.srk.fer.hr/~hniksic/emacs/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
-EXTRACT_ONLY=
MAINTAINER= marc.vanwoerkom at fernuni-hagen.de
COMMENT= Emacs major mode to create HTML files from Emacs buffers (in colour!)
-RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs
+USE_EMACS= yes
+EMACS_PORT_NAME?= emacs21
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKSRC}/htmlize.el
-BROKEN= Checksum mismatch
+PLIST_FILES= ${EMACS_SITE_LISPDIR}/htmlize.el \
+ ${EMACS_SITE_LISPDIR}/htmlize.elc
-NO_BUILD= yes
+LISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}
-LISPDIR= ${PREFIX}/share/emacs/site-lisp
+do-build:
+ cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile htmlize.el
do-install:
- ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/htmlize.* ${LISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/htmlize.el/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 18 Feb 2005 10:29:30 -0000 1.1
+++ distinfo 10 Feb 2006 19:11:38 -0000
@@ -1 +1,3 @@
-MD5 (htmlize.el) = 58ef49144157a446a131132c35dbf6fd
+MD5 (htmlize.el) = 4fbfbc1d4aafecbb95af3837ab801724
+SHA256 (htmlize.el) = e11c8aa9e64965928195d12f08a7ae9667de15fac10da884f2abc009112e6c73
+SIZE (htmlize.el) = 64494
--- pkg-plist Fri Feb 18 12:29:30 2005
+++ /dev/null Fri Feb 10 21:15:11 2006
@@ -1 +0,0 @@
-share/emacs/site-lisp/htmlize.el
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
--
Regards,
Andrey.
--=-=-=--
More information about the freebsd-ports-bugs
mailing list