From nobody@FreeBSD.org  Fri Mar 22 21:35:45 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 08270E0E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 21:35:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id EC5B0B58
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 21:35:44 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2MLZhF4075513
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 21:35:43 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r2MLZhKj075512;
	Fri, 22 Mar 2013 21:35:43 GMT
	(envelope-from nobody)
Message-Id: <201303222135.r2MLZhKj075512@red.freebsd.org>
Date: Fri, 22 Mar 2013 21:35:43 GMT
From: John Marino <draco@marino.st>
To: freebsd-gnats-submit@FreeBSD.org
Subject: editors/nxml + editors/nxml-emacs21 needs combining: 2 ports for 1 package
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177287
>Category:       ports
>Synopsis:       editors/nxml + editors/nxml-emacs21 needs combining: 2 ports for 1 package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hrs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 21:40:00 UTC 2013
>Closed-Date:    Thu May 02 05:47:50 UTC 2013
>Last-Modified:  Thu May  2 05:50:00 UTC 2013
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
If I understand the situation correctly, editors/nxml builds nothing by itself and editors/nxml-emacs21 needs all the files from editors/nxml to build its package.

It appears at one time editors/nxml built different versions of emacs, but now it only builds emacs21.  If this is true, then currently two ports are being used to build a single package.

>How-To-Repeat:

>Fix:
I propose that editors/nxml-emacs21 be removed, and editors/nxml be altered to define EMACS_PORT_NAME=emacs21.

Then one still gets a nxml-emacs21 package put it only took one port to do it.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hrs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 22 21:40:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177287 
State-Changed-From-To: open->closed 
State-Changed-By: hrs 
State-Changed-When: Thu May 2 05:43:47 UTC 2013 
State-Changed-Why:  
The reason why we had the -emacs21 port was that the package for emacs21 was 
built for the release media.  So, removing it for the reason "it is duplicated" 
is wrong.  However, since emacs21 is too old, I decided to remove the -emacs21 
port in any way.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=177287 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177287: commit references a PR
Date: Thu,  2 May 2013 05:43:48 +0000 (UTC)

 Author: hrs
 Date: Thu May  2 05:43:40 2013
 New Revision: 317072
 URL: http://svnweb.freebsd.org/changeset/ports/317072
 
 Log:
   - Remove obsolete editors/nxml-emacs21.
   - Trim old-style header.
   - Use OPTIONS_DEFINE.
   
   PR:	ports/177287
 
 Deleted:
   head/editors/nxml-emacs21/
 Modified:
   head/MOVED
   head/editors/Makefile
   head/editors/nxml/Makefile
   head/editors/nxml/pkg-plist
 
 Modified: head/MOVED
 ==============================================================================
 --- head/MOVED	Thu May  2 03:15:15 2013	(r317071)
 +++ head/MOVED	Thu May  2 05:43:40 2013	(r317072)
 @@ -4243,3 +4243,4 @@ devel/ruby-term-ansicolor|devel/rubygem-
  www/mediawiki|www/mediawiki119|2013-05-01|Rename mediawiki to mediawiki119
  www/squid31||2013-05-01|Has expired: No longer actively maintained upstream
  converters/ruby-bsdconv|converters/rubygem-bsdconv|2013-05-01|Moved to Rubygems
 +editors/nxml-emacs21||2013-05-02|Removed: obsolete
 
 Modified: head/editors/Makefile
 ==============================================================================
 --- head/editors/Makefile	Thu May  2 03:15:15 2013	(r317071)
 +++ head/editors/Makefile	Thu May  2 05:43:40 2013	(r317072)
 @@ -232,7 +232,6 @@
      SUBDIR += nvi-devel
      SUBDIR += nvi-m17n
      SUBDIR += nxml
 -    SUBDIR += nxml-emacs21
      SUBDIR += omegaT
      SUBDIR += openoffice-3
      SUBDIR += openoffice-devel
 
 Modified: head/editors/nxml/Makefile
 ==============================================================================
 --- head/editors/nxml/Makefile	Thu May  2 03:15:15 2013	(r317071)
 +++ head/editors/nxml/Makefile	Thu May  2 05:43:40 2013	(r317072)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	nxml for emacs
 -# Date created:		26 Oct 2003
 -# Whom:			Fritz Heinrichmeyer
 -#
 +# Created by: Fritz Heinrichmeyer
  # $FreeBSD$
 -#
  
  PORTNAME=	nxml-mode
  PORTVERSION=	${NXML_VER}
 @@ -28,6 +24,10 @@ NXML_INSTDIRS=	. char-name char-name/uni
  NXML_INCLEXP=	\.el$$\|\.elc$$\|\.rnc$$\|\.xml$$
  NXML_EXCLEXP=	nxml-mode.xml\|nxml-mode.rnc\|test.invalid.xml\|test.valid.xml
  
 +OPTIONS_DEFINE=	DOCS
 +
 +.include <bsd.port.options.mk>
 +
  do-install:
  	@${MKDIR} ${NXML_INSTDIRS:S,^,${NXML_LISPDIR}/,}
  .for D in ${NXML_INSTDIRS}
 @@ -39,7 +39,7 @@ do-install:
  
  post-install:
  	@${INSTALL_DATA} ${INSTALL_WRKSRC}/nxml-mode.info ${PREFIX}/info
 -.if !defined(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
  	@cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
  .endif
 @@ -48,7 +48,7 @@ post-install:
  .include <bsd.port.pre.mk>
  
  .if ${EMACS_PORT_NAME} == "emacs23" || ${EMACS_PORT_NAME} == "emacs24"
 -IGNORE=     incorporated into ${EMACS_PORT_NAME}
 +IGNORE=	incorporated into ${EMACS_PORT_NAME}
  .endif
  
  .include <bsd.port.post.mk>
 
 Modified: head/editors/nxml/pkg-plist
 ==============================================================================
 --- head/editors/nxml/pkg-plist	Thu May  2 03:15:15 2013	(r317071)
 +++ head/editors/nxml/pkg-plist	Thu May  2 05:43:40 2013	(r317072)
 @@ -1,3 +1,4 @@
 +@comment $FreeBSD$
  %%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-enc.el
  %%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-enc.elc
  %%EMACS_VERSION_SITE_LISPDIR%%/nxml/nxml-glyph.el
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
