Date: Fri, 4 Jun 2010 20:27:29 GMT From: Mikolaj Golub <to.my.trociny@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/147480: Update port: devel/mk-configure: add examples and additional documentation Message-ID: <201006042027.o54KRT4j016416@www.freebsd.org> Resent-Message-ID: <201006042030.o54KU2Sl076079@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147480 >Category: ports >Synopsis: Update port: devel/mk-configure: add examples and additional documentation >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: Fri Jun 04 20:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mikolaj Golub >Release: >Organization: >Environment: >Description: Make devel/mk-configure install examples and doc/presentation.pdf. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u devel/mk-configure.orig/Makefile devel/mk-configure/Makefile --- devel/mk-configure.orig/Makefile 2010-06-04 22:31:49.000000000 +0300 +++ devel/mk-configure/Makefile 2010-06-04 23:20:22.000000000 +0300 @@ -7,6 +7,7 @@ PORTNAME= mk-configure PORTVERSION= 0.15.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -17,11 +18,13 @@ RUN_DEPENDS= $(BUILD_DEPENDS) .if !defined(NOPORTDOCS) -DOCFILES= README NEWS TODO COPYRIGHT FAQ +DOCFILES= README NEWS TODO COPYRIGHT FAQ doc/presentation.pdf .else DOCFILES= .endif +PORTEXAMPLES= * + MAN1= mkc_check_funclib.1 mkc_check_header.1 mkc_check_sizeof.1 \ mkc_check_decl.1 mkc_check_prog.1 mkc_check_custom.1 \ mkcmake.1 @@ -32,5 +35,8 @@ do-install: bmake -C ${WRKSRC} installdirs install EXTRAFILES="${DOCFILES}" +.if !defined(NOPORTEXAMPLES) + cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR} +.endif .include <bsd.port.mk> diff -u devel/mk-configure.orig/pkg-plist devel/mk-configure/pkg-plist --- devel/mk-configure.orig/pkg-plist 2010-06-04 22:31:49.000000000 +0300 +++ devel/mk-configure/pkg-plist 2010-06-04 23:00:45.000000000 +0300 @@ -53,4 +53,5 @@ %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/presentation.pdf %%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006042027.o54KRT4j016416>