ports/179237: [PATCH] audio/mp3mover: Comply with OptionsNG, trim docs
nemysis
nemysis at gmx.ch
Sun Jun 2 22:40:02 UTC 2013
>Number: 179237
>Category: ports
>Synopsis: [PATCH] audio/mp3mover: Comply with OptionsNG, trim docs
>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 Jun 02 22:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:
- Shorten header
- Comply with OptionsNG
- Trim docs
Generated and tested manually, tested with port test and with RedPort, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
Build log
https://redports.org/buildarchive/20130602213001-28690/
>Fix:
--- mp3mover-2.1.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/mp3mover/Makefile ./Makefile
--- /usr/ports/audio/mp3mover/Makefile 2013-06-02 19:00:40.000000000 +0200
+++ ./Makefile 2013-04-02 18:00:56.000000000 +0200
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: mp3mover
-# Date created: Apr 18, 2001
-# Whom: Ying-Chieh Liao <ijliao at FreeBSD.org>
-#
+# Created by: Ying-Chieh Liao <ijliao at FreeBSD.org>
# $FreeBSD: head/audio/mp3mover/Makefile 300895 2012-07-14 12:56:14Z beat $
-#
PORTNAME= mp3mover
PORTVERSION= 2.1.1
@@ -25,14 +20,19 @@
%%DATADIR%%/shellperfect-.mp3moverrc
PLIST_DIRS= %%DATADIR%%
+PORTDOCS= readme
+
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${PREFIX}/bin/mp3mover
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample-.mp3moverrc ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/shellperfect-.mp3moverrc ${DATADIR}
-.if !defined(NOPORTDOCS)
+
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- mp3mover-2.1.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list