Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Oct 2007 05:38:57 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116796: [MAINTAINER] mail/c-sig: Byte-compile c-sig.el
Message-ID:  <20071001203857.345F524@eastasia.home.utahime.org>
Resent-Message-ID: <200710012040.l91KeDIo097875@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116796
>Category:       ports
>Synopsis:       [MAINTAINER] mail/c-sig: Byte-compile c-sig.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 20:40:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD xxxx 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Thu Aug 2 08:24:51 JST 2007 xxxx i386


	
>Description:
	- Add do-build rule to byte-compile c-sig.el.
	- Change do-install rule to install c-sig.elc.
	- Change install destination to c-sig subdirectory.
	- Bump PORTREVISION.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-c-sig begins here ---
Index: Makefile
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/mail/c-sig/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	7 Aug 2007 09:56:47 -0000	1.5
+++ Makefile	1 Oct 2007 20:13:51 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	c-sig
 PORTVERSION=	3.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail elisp
 MASTER_SITES=	http://www.threeweb.ad.jp/~kshibata/c-sig/programs/
 PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
@@ -18,15 +18,15 @@
 
 USE_EMACS=	yes
 
-EMACS_NO_BUILD_DEPENDS=	yes
-
 NO_WRKSUBDIR=	yes
-NO_BUILD=	yes
-LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+
+do-build:
+	cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile c-sig.el
 
 do-install:
 	${MKDIR} ${LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/c-sig.el ${LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/c-sig.el* ${LISPDIR}
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 .for file in c-sig-eng.faq c-sig-eng.man c-sig-jp.faq c-sig-jp.man
Index: pkg-plist
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/mail/c-sig/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	7 Aug 2007 09:54:49 -0000	1.2
+++ pkg-plist	1 Oct 2007 20:15:49 -0000
@@ -1,4 +1,6 @@
-%%EMACS_VERSION_SITE_LISPDIR%%/c-sig.el
+%%EMACS_VERSION_SITE_LISPDIR%%/c-sig/c-sig.el
+%%EMACS_VERSION_SITE_LISPDIR%%/c-sig/c-sig.elc
+@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/c-sig
 %%PORTDOCS%%%%DOCSDIR%%/c-sig-eng.faq
 %%PORTDOCS%%%%DOCSDIR%%/c-sig-eng.man
 %%PORTDOCS%%%%DOCSDIR%%/c-sig-jp.faq
--- patch-c-sig ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071001203857.345F524>