aboutsummaryrefslogtreecommitdiff
path: root/audio/libadplug
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-18 15:15:51 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-18 15:15:51 +0000
commit1a0f5bafb5862e449b7f3ec57a245f9a6a681ddf (patch)
tree8f7ce9ba3825dcc99eb488076453de460fa69900 /audio/libadplug
parent48b75d7b861c6c25165760f8f5bdf1ecb2beb2ff (diff)
downloadports-1a0f5bafb5862e449b7f3ec57a245f9a6a681ddf.tar.gz
ports-1a0f5bafb5862e449b7f3ec57a245f9a6a681ddf.zip
Notes
Diffstat (limited to 'audio/libadplug')
-rw-r--r--audio/libadplug/Makefile26
-rw-r--r--audio/libadplug/distinfo5
-rw-r--r--audio/libadplug/pkg-descr2
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)>#<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>
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/