Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Sep 2009 18:37:35 -0300 (BRT)
From:      Sylvio Cesar <scjamorim@bsd.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        itetcu@FreeBSD.org, araujo@FreeBSD.org
Subject:   ports/138592: [PATCH] audio/funktrackergold: Included pkg-plist in Makefile. Take maintainership.
Message-ID:  <20090906213735.A4177229B9E@fbsd72.scjamorim.org>
Resent-Message-ID: <200909062140.n86Le3C8058576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@FreeBSD.org
+MAINTAINER=	scjamorim@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090906213735.A4177229B9E>