ports/139736: [PATCH] audio/swami: Added PORTDOCS to Makefile.

[ Available lists | Index of freebsd-ports-bugs | Month of Oct 2009 | Week of 18 Oct 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Sylvio Cesar <scjamorim@bsd.com.br>
Date
18 Oct 2009 22:00:16
Subject
ports/139736: [PATCH] audio/swami: Added PORTDOCS to Makefile.
Message-ID
20091018215221.84A4E3F5F66@fbsd.scjamorim.org


[ Hide this part ]
 
>Number: 139736
>Category: ports
>Synopsis: [PATCH] audio/swami: Added PORTDOCS to Makefile.
>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: Sun Oct 18 22:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sylvio Cesar
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009
>Description:
- Added PORTDOCS to Makefile
- Changed pkg-plist

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- swami-0.9.4_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/swami/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile 6 Jun 2008 13:07:06 -0000 1.13
+++ Makefile 18 Oct 2009 21:43:17 -0000
@@ -28,6 +28,8 @@
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

+PORTDOCS= AUTHORS ChangeLog NEWS README
+
.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgnomelibs}!=""
@@ -43,8 +45,8 @@
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
-.for file in AUTHORS ChangeLog NEWS README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${dosc} ${DOCSDIR}
.endfor
.endif

Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/swami/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist 1 Dec 2006 23:59:12 -0000 1.2
+++ pkg-plist 18 Oct 2009 21:43:17 -0000
@@ -8,9 +8,4 @@
lib/swami/wavetbl_fluidsynth.a
lib/swami/wavetbl_fluidsynth.la
lib/swami/wavetbl_fluidsynth.so
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/swami
--- swami-0.9.4_3.patch ends here ---

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


Elapsed time: 0.200 seconds