Date: Wed, 27 Apr 2011 11:34:00 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: marcus@FreeBSD.org Subject: ports/156668: [PATCH] ports-mgmt/portlint: minor fixes Message-ID: <20110427033400.752CF346B@sunpoet.net> Resent-Message-ID: <201104270400.p3R40J35045276@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156668 >Category: ports >Synopsis: [PATCH] ports-mgmt/portlint: minor fixes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 04:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.2-STABLE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Mar 30 10:30:31 CST 2011 >Description: - Do not always make EXAMPLESDIR - USE PLIST_DIRS/PLIST_FILES instead of pkg-plist Removed file(s): - pkg-plist Port maintainer (marcus@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- portlint-2.13.5.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/portlint/Makefile,v retrieving revision 1.144 diff -u -u -r1.144 Makefile --- Makefile 21 Mar 2011 01:00:11 -0000 1.144 +++ Makefile 11 Apr 2011 09:02:05 -0000 @@ -23,6 +23,12 @@ SRC= ${.CURDIR}/src MAN1= portlint.1 +PLIST_FILES= bin/portlint + +.if !defined(NOPORTEXAMPLES) +PLIST_FILES+= %%EXAMPLESDIR%%/portlintgrep +PLIST_DIRS= %%EXAMPLESDIR%% +.endif do-fetch: @${DO_NADA} @@ -38,7 +44,6 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl ${PREFIX}/bin/portlint ${INSTALL_MAN} ${WRKSRC}/portlint.1 ${MAN1PREFIX}/man/man1 - ${MKDIR} ${EXAMPLESDIR} .if !defined(NOPORTEXAMPLES) ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${BINMODE} -d ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 9 Jul 2009 01:03:37 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -bin/portlint -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/portlintgrep -@dirrm %%EXAMPLESDIR%% --- portlint-2.13.5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110427033400.752CF346B>