Bug 126969 - audio/ncmpcpp update to 0.2.1
Summary: audio/ncmpcpp update to 0.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-30 13:40 UTC by Dennis Herrmann
Modified: 2008-09-06 22:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.52 KB, patch)
2008-08-30 13:40 UTC, Dennis Herrmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Herrmann 2008-08-30 13:40:01 UTC
Ncmpcpp Update 0.2.1 

* support for composer, performer and disc tag
* customizable keybindings
* "add" option added
* example config files are installed automatically now
* "repeat one song" mode added (works only if ncmpcpp is running)
* minor fixes, improvements etc.

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-08-30 13:51:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-08-30 14:42:06 UTC
State Changed
From-To: open->feedback


Hi, 

Your port don't respect NOPORTEXAMPLES and NOPORTDOCS. Please fix it and 
submit a followup to this PR. Look at the Porters Handbook for 
instructions. 

http://amd64.miwibox.org/index.php?action=describe_port&id=1998 
http://i386.miwibox.org/index.php?action=describe_port&id=2005 

Thanks
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2008-08-30 23:29:28 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 4 Dennis Herrmann 2008-08-31 16:29:50 UTC
--- ncmpcpp-0.2.1.diff begins here ---
diff -ruN ncmpcpp.orig/Makefile ncmpcpp/Makefile
--- ncmpcpp.orig/Makefile       2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/Makefile    2008-08-31 11:04:40.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      ncmpcpp
-PORTVERSION=   0.2
+PORTVERSION=   0.2.1
 CATEGORIES=    audio
 MASTER_SITES=  http://unkart.ovh.org/ncmpcpp/ \
                http://mirror.mcx2.org/
@@ -30,8 +30,11 @@
 .include <bsd.port.pre.mk>
 
 PLIST_FILES=   bin/ncmpcpp \
-               %%EXAMPLESDIR%%/ncmpcpprc.sample
-PLIST_DIRS=    %%EXAMPLESDIR%%
+               %%EXAMPLESDIR%%/ncmpcpprc.sample \
+               %%EXAMPLESDIR%%/ncmpcpp_keys \
+               %%DOCSDIR%%/NEWS \
+               %%DOCSDIR%%/AUTHORS
+PLIST_DIRS=    %%EXAMPLESDIR%% %%DOCSDIR%%
 
 .if !defined(WITHOUT_CURL)
 LIB_DEPENDS+=  curl.4:${PORTSDIR}/ftp/curl
@@ -47,10 +50,22 @@
 CONFIGURE_ARGS+=       --with-taglib=no
 .endif
 
-post-install:
+do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
+
+.if !defined(NOPORTDOCS)
+       @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
+       @${MKDIR} ${DOCSDIR}
+       ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS
+       ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+       @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
        ${MKDIR} ${EXAMPLESDIR}
-       ${INSTALL_DATA} ${WRKSRC}/examples/ncmpcpprc ${EXAMPLESDIR}/ncmpcpprc.sample
+       ${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpprc ${EXAMPLESDIR}/ncmpcpprc.sample
+       ${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpp_keys ${EXAMPLESDIR}/ncmpcpp_keys
+.endif
 
        @${ECHO_MSG} ""
        @${CAT} ${PKGMESSAGE}
diff -ruN ncmpcpp.orig/distinfo ncmpcpp/distinfo
--- ncmpcpp.orig/distinfo       2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/distinfo    2008-08-31 10:33:33.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ncmpcpp-0.2.tar.bz2) = d2f67e5c2dccc0fcaac13b67a5011ed9
-SHA256 (ncmpcpp-0.2.tar.bz2) = 77aa8bb89ea72e98d90e010f7c3075fd1b3660dd40706c69597463182990b19c
-SIZE (ncmpcpp-0.2.tar.bz2) = 283557
+MD5 (ncmpcpp-0.2.1.tar.bz2) = 14d4022f9c9cd98cc4871e6335cdf26c
+SHA256 (ncmpcpp-0.2.1.tar.bz2) = 08718dd17341fbc6d9752738bcf631721686ed8c7e43a307eeb468c688f09fd9
+SIZE (ncmpcpp-0.2.1.tar.bz2) = 286624
diff -ruN ncmpcpp.orig/pkg-message ncmpcpp/pkg-message
--- ncmpcpp.orig/pkg-message    2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/pkg-message 2008-08-31 11:11:40.000000000 +0200
@@ -1,8 +1,8 @@
 ###########################################################################
 ncmpcpp has been installed.
 
-A default ncmpcpprc config has been installed to:
-PREFIX/share/examples/ncmpcpprc.sample
+A default ncmpcpp configs has been installed to:
+PREFIX/share/examples/ncmpcpp
 
 For more information about ncmpcpp visit:
 http://unkart.ovh.org/ncmpcpp


--- ncmpcpp-0.2.1.diff ends here ---
Comment 5 Dennis Herrmann 2008-08-31 16:46:10 UTC
--- ncmpcpp-0.2.1.diff begins here ---
diff -ruN ncmpcpp.orig/Makefile ncmpcpp/Makefile
--- ncmpcpp.orig/Makefile 2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/Makefile 2008-08-31 11:04:40.000000000 +0200
@@ -6,7 +6,7 @@
 #

 PORTNAME= ncmpcpp
-PORTVERSION= 0.2
+PORTVERSION= 0.2.1
 CATEGORIES= audio
 MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
  http://mirror.mcx2.org/
@@ -30,8 +30,11 @@
 .include <bsd.port.pre.mk>

 PLIST_FILES= bin/ncmpcpp \
- %%EXAMPLESDIR%%/ncmpcpprc.sample
-PLIST_DIRS= %%EXAMPLESDIR%%
+ %%EXAMPLESDIR%%/ncmpcpprc.sample \
+ %%EXAMPLESDIR%%/ncmpcpp_keys \
+ %%DOCSDIR%%/NEWS \
+ %%DOCSDIR%%/AUTHORS
+PLIST_DIRS= %%EXAMPLESDIR%% %%DOCSDIR%%

 .if !defined(WITHOUT_CURL)
 LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl
@@ -47,10 +50,22 @@
 CONFIGURE_ARGS+= --with-taglib=no
 .endif

-post-install:
+do-install:
  ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
+
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+ @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
  ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/ncmpcpprc
${EXAMPLESDIR}/ncmpcpprc.sample
+ ${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpprc ${EXAMPLESDIR}/ncmpcpprc.sample
+ ${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpp_keys ${EXAMPLESDIR}/ncmpcpp_keys
+.endif

  @${ECHO_MSG} ""
  @${CAT} ${PKGMESSAGE}
diff -ruN ncmpcpp.orig/distinfo ncmpcpp/distinfo
--- ncmpcpp.orig/distinfo 2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/distinfo 2008-08-31 10:33:33.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ncmpcpp-0.2.tar.bz2) = d2f67e5c2dccc0fcaac13b67a5011ed9
-SHA256 (ncmpcpp-0.2.tar.bz2) =
77aa8bb89ea72e98d90e010f7c3075fd1b3660dd40706c69597463182990b19c
-SIZE (ncmpcpp-0.2.tar.bz2) = 283557
+MD5 (ncmpcpp-0.2.1.tar.bz2) = 14d4022f9c9cd98cc4871e6335cdf26c
+SHA256 (ncmpcpp-0.2.1.tar.bz2) =
08718dd17341fbc6d9752738bcf631721686ed8c7e43a307eeb468c688f09fd9
+SIZE (ncmpcpp-0.2.1.tar.bz2) = 286624
diff -ruN ncmpcpp.orig/pkg-message ncmpcpp/pkg-message
--- ncmpcpp.orig/pkg-message 2008-08-30 14:12:07.000000000 +0200
+++ ncmpcpp/pkg-message 2008-08-31 11:11:40.000000000 +0200
@@ -1,8 +1,8 @@
 ###########################################################################
 ncmpcpp has been installed.

-A default ncmpcpprc config has been installed to:
-PREFIX/share/examples/ncmpcpprc.sample
+A default ncmpcpp configs has been installed to:
+PREFIX/share/examples/ncmpcpp

 For more information about ncmpcpp visit:
 http://unkart.ovh.org/ncmpcpp


--- ncmpcpp-0.2.1.diff ends here ---

please delete http://www.freebsd.org/cgi/query-pr.cgi?pr=127006
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2008-09-06 22:04:51 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2008-09-06 22:04:51 UTC
miwi        2008-09-06 21:04:42 UTC

  FreeBSD ports repository

  Modified files:
    audio/ncmpcpp        Makefile distinfo pkg-message 
  Log:
  - Update to 0.2.1
  
  PR:             126969
  Submitted by:   Dennis Herrmann <adox@mcx2.org>
  
  Revision  Changes    Path
  1.2       +14 -5     ports/audio/ncmpcpp/Makefile
  1.2       +3 -3      ports/audio/ncmpcpp/distinfo
  1.2       +1 -1      ports/audio/ncmpcpp/pkg-message
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"