ports/117120: www/apache-mode.el: [PATCH]: portlint cleanups

Philip M. Gollucci pgollucci at p6m7g8.com
Thu Oct 11 20:40:02 UTC 2007


>Number:         117120
>Category:       ports
>Synopsis:       www/apache-mode.el: [PATCH]: portlint cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 11 20:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.0-current
>Organization:
Riderway Inc.
>Environment:
FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007     root at philip.office.rws:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
1) remove - from PORTNAME
2) Start COMMENT with a captial
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/apache-mode.el/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	21 Nov 2006 20:56:01 -0000	1.1
+++ Makefile	11 Oct 2007 15:10:56 -0000
@@ -4,17 +4,18 @@
 #
 # $FreeBSD: ports/www/apache-mode.el/Makefile,v 1.1 2006/11/21 20:56:01 pav Exp $
 
-PORTNAME=	apache-mode.el
+PORTNAME=	mode.el
 PORTVERSION=	2.0
 CATEGORIES=	www elisp
 MASTER_SITES=	http://ncd0.bsd.by/ports/distfiles/	\
 		http://www.emacswiki.org/cgi-bin/wiki/download/
+PKGNAMEPREFIX=	apache-
 DISTNAME=	apache-mode.el
 EXTRACT_SUFX=	# empty
 EXTRACT_ONLY=	# empty
 
 MAINTAINER=	m.boyarov at bsd.by
-COMMENT=	[X]Emacs major mode for editing Apache configuration files
+COMMENT=	Emacs and Xemacs major mode for editing Apache configuration files
 
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
@@ -22,11 +23,13 @@
 EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
 XEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
 
+EL=	${PKGNAMEPREFIX}${PORTNAME}
+
 do-install:
 	${MKDIR} ${EMACSLISPDIR}
 	${MKDIR} ${XEMACSLISPDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME}
-	${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME}
+	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${EL}
+	${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${EL}
 
 post-install:
 	@${CAT} ${PKGMESSAGE}


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



More information about the freebsd-ports-bugs mailing list