From 1a0f5bafb5862e449b7f3ec57a245f9a6a681ddf Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 18 Apr 2017 15:15:51 +0000 Subject: [PATCH] - Move from SF to GitHub - Update WWW - Use autoreconf and remove now unneeded extra compiler flags and header patching - distfile checksum differs due to the removal of VCS files, autoconf files, adjustment of copyright dates, no functional changes - To be safe bump PORTREVISION (autoreconf) - Move INFO to pkg-plist --- audio/libadplug/Makefile | 26 +++++++++----------------- audio/libadplug/distinfo | 5 +++-- audio/libadplug/pkg-descr | 2 +- 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/audio/libadplug/Makefile b/audio/libadplug/Makefile index 88eef0542d35..5814671177ca 100644 --- a/audio/libadplug/Makefile +++ b/audio/libadplug/Makefile @@ -3,10 +3,8 @@ PORTNAME= libadplug PORTVERSION= 2.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio -MASTER_SITES= SF/adplug/AdPlug%20core%20library/${PORTVERSION} -DISTNAME= adplug-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= AdLib emulator library supporting many formats @@ -15,29 +13,23 @@ LICENSE= GPLv2 LIB_DEPENDS= libbinio.so:devel/libbinio -USES= libtool makeinfo pathfix pkgconfig +USES= autoreconf libtool makeinfo pathfix pkgconfig GNU_CONFIGURE= yes +USE_GITHUB= yes USE_LDCONFIG= yes USE_CSTD= gnu89 -CPPFLAGS+= -I${LOCALBASE}/include +GH_ACCOUNT= adplug +GH_PROJECT= adplug +GH_TAGNAME= adplug-${PORTVERSION} INFO= libadplug +CONFIGURE_ARGS+= --enable-maintainer-mode + INSTALL_TARGET= install-strip post-patch: - @${REINPLACE_CMD} -E 's#<(binfile.h|binio.h|binstr.h)>##' \ - ${WRKSRC}/adplugdb/adplugdb.cpp \ - ${WRKSRC}/src/adplug.cpp \ - ${WRKSRC}/src/fprovide.cpp \ - ${WRKSRC}/src/database.cpp \ - ${WRKSRC}/src/rix.cpp \ - ${WRKSRC}/src/fprovide.h \ - ${WRKSRC}/src/database.h \ - ${WRKSRC}/src/fprovide.cpp \ - ${WRKSRC}/src/database.cpp \ - ${WRKSRC}/src/dmo.cpp - @${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/stdc++/d' ${WRKSRC}/configure.in .include diff --git a/audio/libadplug/distinfo b/audio/libadplug/distinfo index dd0bca83121a..6b9745d15329 100644 --- a/audio/libadplug/distinfo +++ b/audio/libadplug/distinfo @@ -1,2 +1,3 @@ -SHA256 (adplug-2.2.1.tar.gz) = 513f8169facec0d88106a99140eaf7c9b5b64cec51af215df36c14636097d2fe -SIZE (adplug-2.2.1.tar.gz) = 1077626 +TIMESTAMP = 1492525997 +SHA256 (adplug-adplug-2.2.1-adplug-2.2.1_GH0.tar.gz) = d5969670a92216a163629e7225d80569d58cd30066a11a227796071da99fdf31 +SIZE (adplug-adplug-2.2.1-adplug-2.2.1_GH0.tar.gz) = 682355 diff --git a/audio/libadplug/pkg-descr b/audio/libadplug/pkg-descr index 61d022e615dc..616d88908f60 100644 --- a/audio/libadplug/pkg-descr +++ b/audio/libadplug/pkg-descr @@ -4,4 +4,4 @@ sound data, originally created for the AdLib (OPL2) audio board, directly from its original format on top of an OPL2 emulator or by using the real hardware. No OPL chip is required for playback. -WWW: http://adplug.sourceforge.net/ +WWW: http://adplug.github.io/