ports/138592: [PATCH] audio/funktrackergold: Included pkg-plist in Makefile. Take maintainership.

Sylvio Cesar scjamorim at bsd.com.br
Sun Sep 6 21:40:04 UTC 2009


>Number:         138592
>Category:       ports
>Synopsis:       [PATCH] audio/funktrackergold: Included pkg-plist in Makefile. Take maintainership.
>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 Sep 06 21:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Included file pkg-plist in Makefile
- Added "post-extract" to copy file INSTALL by README
- Added "PORTDOCS" and "for" to install docs.
- Take maintainership.

Removed file(s):
- pkg-plist

You can see the log in mine tinderbox:
http://www.scjamorim.org/Home/funktrackergold-1.5.2_1.log

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

--- funktrackergold-1.5.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/funktrackergold/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	14 Jul 2007 20:06:29 -0000	1.10
+++ Makefile	6 Sep 2009 21:34:02 -0000
@@ -14,20 +14,28 @@
 DISTNAME=	funktrackergold-1.5-2
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	scjamorim at bsd.com.br
 COMMENT=	A curses MOD/FNK music tracker
 
 WRKSRC=		${WRKDIR}/funkgold
 MAKE_ARGS=	EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
 		EXTRA_LDFLAGS="${PTHREAD_LIBS}"
 
+PORTDOCS=	README
+PLIST_FILES=	bin/funkgold
+
 .include <bsd.port.pre.mk>
 
+post-extract:
+	@${CP} ${WRKSRC}/INSTALL ${WRKSRC}/README
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PORTNAME}/README
+	${MKDIR} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	21 Oct 2003 11:23:57 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-bin/funkgold
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- funktrackergold-1.5.2_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list