[MacPorts] #32533: txt2regex: noarch; license; manpage location

MacPorts noreply at macports.org
Tue Dec 13 22:02:09 PST 2011


#32533: txt2regex: noarch; license; manpage location
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  grrr@…              
     Type:  enhancement              |      Status:  new                 
 Priority:  Normal                   |   Milestone:                      
Component:  ports                    |     Version:  2.0.3               
 Keywords:  haspatch                 |        Port:  txt2regex           
-------------------------------------+--------------------------------------
 The txt2regex port installs a manpage, but with the wrong extension
 (".man" instead of the required ".1"), so "man txt2regex" doesn't actually
 find it. The attached Portfile patch fixes this, and indicates that the
 port doesn't install any architecture-specific files, and builds and
 installs the localized message catalogs.

 It does this by removing the custom destroot phase the Portfile had been
 using, and instead patching the Makefile to work properly. The Makefile
 patch makes the following changes:

  * Introduces PREFIX variable and uses it instead of assuming /usr
  * Fixes how DESTDIR is handled so that DESTDIR doesn't get written into
 the final txt2regex script
  * Replaces "echo -n" (which doesn't work as intended on POSIX-compliant
 systems like Snow Leopard and higher) with "printf"
  * Installs manpage

 The Makefile patch should be suitable for submission to the developers of
 this software, if they're interested.

-- 
Ticket URL: <https://trac.macports.org/ticket/32533>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list