Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 15:15:52 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438785 - head/audio/libadplug
Message-ID:  <201704181515.v3IFFqaG054495@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Apr 18 15:15:51 2017
New Revision: 438785
URL: https://svnweb.freebsd.org/changeset/ports/438785

Log:
  - 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

Modified:
  head/audio/libadplug/Makefile
  head/audio/libadplug/distinfo
  head/audio/libadplug/pkg-descr

Modified: head/audio/libadplug/Makefile
==============================================================================
--- head/audio/libadplug/Makefile	Tue Apr 18 15:15:06 2017	(r438784)
+++ head/audio/libadplug/Makefile	Tue Apr 18 15:15:51 2017	(r438785)
@@ -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)>#<libbinio/\1>#' \
-		${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 <bsd.port.mk>

Modified: head/audio/libadplug/distinfo
==============================================================================
--- head/audio/libadplug/distinfo	Tue Apr 18 15:15:06 2017	(r438784)
+++ head/audio/libadplug/distinfo	Tue Apr 18 15:15:51 2017	(r438785)
@@ -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

Modified: head/audio/libadplug/pkg-descr
==============================================================================
--- head/audio/libadplug/pkg-descr	Tue Apr 18 15:15:06 2017	(r438784)
+++ head/audio/libadplug/pkg-descr	Tue Apr 18 15:15:51 2017	(r438785)
@@ -4,4 +4,4 @@ sound data, originally created for the A
 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/



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