- 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
This commit is contained in:
Emanuel Haupt 2017-04-18 15:15:51 +00:00
parent 48b75d7b86
commit 1a0f5bafb5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438785
3 changed files with 13 additions and 20 deletions

View file

@ -3,10 +3,8 @@
PORTNAME= libadplug PORTNAME= libadplug
PORTVERSION= 2.2.1 PORTVERSION= 2.2.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= SF/adplug/AdPlug%20core%20library/${PORTVERSION}
DISTNAME= adplug-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org MAINTAINER= ehaupt@FreeBSD.org
COMMENT= AdLib emulator library supporting many formats COMMENT= AdLib emulator library supporting many formats
@ -15,29 +13,23 @@ LICENSE= GPLv2
LIB_DEPENDS= libbinio.so:devel/libbinio LIB_DEPENDS= libbinio.so:devel/libbinio
USES= libtool makeinfo pathfix pkgconfig USES= autoreconf libtool makeinfo pathfix pkgconfig
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_GITHUB= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_CSTD= gnu89 USE_CSTD= gnu89
CPPFLAGS+= -I${LOCALBASE}/include GH_ACCOUNT= adplug
GH_PROJECT= adplug
GH_TAGNAME= adplug-${PORTVERSION}
INFO= libadplug INFO= libadplug
CONFIGURE_ARGS+= --enable-maintainer-mode
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
post-patch: post-patch:
@${REINPLACE_CMD} -E 's#<(binfile.h|binio.h|binstr.h)>#<libbinio/\1>#' \ @${REINPLACE_CMD} -e '/stdc++/d' ${WRKSRC}/configure.in
${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
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (adplug-2.2.1.tar.gz) = 513f8169facec0d88106a99140eaf7c9b5b64cec51af215df36c14636097d2fe TIMESTAMP = 1492525997
SIZE (adplug-2.2.1.tar.gz) = 1077626 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

View file

@ -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 from its original format on top of an OPL2 emulator or by using the real
hardware. No OPL chip is required for playback. hardware. No OPL chip is required for playback.
WWW: http://adplug.sourceforge.net/ WWW: http://adplug.github.io/