ports/111999: [maintainer update] devel/mcpp: revising Makefile

Kiyoshi Matsui kmatsui at t3.rim.or.jp
Sun Apr 22 09:00:12 UTC 2007


>Number:         111999
>Category:       ports
>Synopsis:       [maintainer update] devel/mcpp: revising Makefile
>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:   Sun Apr 22 09:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kiyoshi Matsui
>Release:        FreeBSD 6.2-RELEASE
>Organization:
none
>Environment:
FreeBSD banten_bsd.private 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Revised the install directory of the man page.

>How-To-Repeat:

>Fix:
diff -u mcpp/Makefile mcpp.new/Makefile
--- mcpp/Makefile       Mon Apr 16 03:59:37 2007
+++ mcpp.new/Makefile   Sun Apr 22 16:48:58 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=      mcpp
 PORTVERSION=   2.6.3
+PORTREVISION=  1
 CATEGORIES=    devel
 MASTER_SITES=  http://prdownloads.sourceforge.net/mcpp/ \
                http://jaist.dl.sourceforge.net/sourceforge/mcpp/
@@ -16,6 +17,9 @@
 
 GNU_CONFIGURE= yes
 CONFIGURE_TARGET=      --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.if (! empty(PREFIX) && $(PREFIX) != $(LOCALBASE))
+CONFIGURE_ARGS= --mandir=$(PREFIX)/share/man
+.endif
 MAN1=          mcpp.1
 
 PLIST_FILES=   bin/mcpp    \

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



More information about the freebsd-ports-bugs mailing list