Created
April 7, 2020 17:43
-
-
Save travispaul/4a9a330e5b8512b82474349b7e0d1d3f to your computer and use it in GitHub Desktop.
cmusfm.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cmusfm/Makefile b/cmusfm/Makefile | |
index 91e348ef57..ed103aec35 100644 | |
--- a/cmusfm/Makefile | |
+++ b/cmusfm/Makefile | |
@@ -1,31 +1,31 @@ | |
# $NetBSD: Makefile,v 1.1 2014/06/05 21:26:12 leot1990 Exp $ | |
-DISTNAME= cmusfm-0.2.0 | |
+DISTNAME= cmusfm-0.3.3 | |
CATEGORIES= audio | |
-MASTER_SITES= -https://github.com/Arkq/cmusfm/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX} | |
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Arkq/} | |
+GITHUB_TAG= v${PKGVERSION_NOREV} | |
MAINTAINER= [email protected] | |
HOMEPAGE= https://github.com/Arkq/cmusfm | |
COMMENT= Last.fm standalone scrobbler for the cmus music player | |
LICENSE= gnu-gpl-v3 | |
-NO_CONFIGURE= yes | |
-USE_TOOLS+= gmake | |
+USE_TOOLS+= autoconf automake pkg-config | |
+GNU_CONFIGURE= yes | |
-SUBST_CLASSES+= makefile | |
-SUBST_STAGE.makefile= pre-build | |
-SUBST_MESSAGE.makefile= Fixing Makefile. | |
-SUBST_FILES.makefile= Makefile | |
-SUBST_SED.makefile+= -e 's/gcc/${CC:Q}/' | |
-SUBST_SED.makefile+= -e 's,^CFLAGS *=,CFLAGS +=,' | |
-SUBST_SED.makefile+= -e 's,^LDFLAGS *=,LDFLAGS +=,' | |
+TOOL_DEPENDS+= autoconf-archive-[0-9]*:../../devel/autoconf-archive | |
INSTALLATION_DIRS= bin ${DOCDIR} | |
DOCDIR= ${PREFIX}/share/doc/cmusfm | |
+TEST_TARGET= check | |
+ | |
+pre-configure: | |
+ cd ${WRKSRC} && autoreconf -i | |
+ | |
do-install: | |
- ${INSTALL_PROGRAM} ${WRKSRC}/cmusfm ${DESTDIR}${PREFIX}/bin/cmusfm | |
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/cmusfm ${DESTDIR}${PREFIX}/bin/cmusfm | |
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR} | |
.include "../../www/curl/buildlink3.mk" | |
diff --git a/cmusfm/distinfo b/cmusfm/distinfo | |
index 32a88e929f..934184a7ae 100644 | |
--- a/cmusfm/distinfo | |
+++ b/cmusfm/distinfo | |
@@ -1,6 +1,6 @@ | |
$NetBSD: distinfo,v 1.1 2014/06/05 21:26:12 leot1990 Exp $ | |
-SHA1 (cmusfm-0.2.0.tar.gz) = c7b8c4456ac256d6e8719ddad4e1e31f9990ad99 | |
-RMD160 (cmusfm-0.2.0.tar.gz) = 2c9d5791b650413c2d3b24a77812c381ca13ce29 | |
-Size (cmusfm-0.2.0.tar.gz) = 26036 bytes | |
-SHA1 (patch-src_server.c) = 5da49e932b453c1a378581042df6b604d8eb006d | |
+SHA1 (cmusfm-0.3.3.tar.gz) = da7698d9c048f6f0b6d5a7291a2c60af500ecc67 | |
+RMD160 (cmusfm-0.3.3.tar.gz) = a83df9b8dff54ca4c9eacb8994ac37dfbae07e14 | |
+SHA512 (cmusfm-0.3.3.tar.gz) = 6537905bdf09d04f09783237997536a1ee231ee4e589826d87f435c0dd7542dbd7d97167990bf949d2a9eb73c4a9a4da1bab17888de0aecedb2a63deaa873f39 | |
+Size (cmusfm-0.3.3.tar.gz) = 37553 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment