Index: head/audio/adplay/Makefile =================================================================== --- head/audio/adplay/Makefile (revision 438826) +++ head/audio/adplay/Makefile (revision 438827) @@ -1,50 +1,52 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= adplay PORTVERSION= 1.7 -PORTREVISION= 7 +DISTVERSIONPREFIX= v +PORTREVISION= 8 CATEGORIES= audio -MASTER_SITES= SF/adplug/AdPlay_UNIX/${PORTVERSION}:main \ - SF/adplug/Database/2006-07-06:db -DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX}:main \ - adplugdb-${DBVERSION}${EXTRACT_SUFX}:db MAINTAINER= ehaupt@FreeBSD.org COMMENT= AdLib player using adplug library LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio +USES= autoreconf libtool pkgconfig GNU_CONFIGURE= yes -USES= libtool +USE_GITHUB= yes +GH_ACCOUNT= adplug +GH_PROJECT= ${PORTNAME}-unix +GH_TUPLE= adplug:database:7ac0819:database/database-${DBVERSION} + DBFILE= adplug.db -DBVERSION= 2006-07-07 +DBVERSION= v1.0 -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libbinio -LIBS+= -L${LOCALBASE}/lib -lbinio - CONFIGURE_ARGS+= --sharedstatedir=${DATADIR} -PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db man/man1/adplay.1.gz +OPTIONS_DEFINE= ALSA SDL -OPTIONS_DEFINE= SDL +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CONFIGURE_WITH= alsa-prefix=${LOCALBASE}/lib +ALSA_CONFIGURE_OFF= --disable-output-alsa +ALSA_CFLAGS+= `pkg-config --cflags alsa` + SDL_CONFIGURE_OFF= --disable-output-sdl -SDL_USE= SDL=sdl,mixer +SDL_USE= SDL=sdl,mixer +PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db man/man1/adplay.1.gz + post-patch: - @${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|^\(adplug_data_dir.*\)/.*|\1|' \ - ${WRKSRC}/src/Makefile.in @${RM} ${WRKSRC}/src/getopt.h -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/adplay ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/adplay.1 ${STAGEDIR}${MANPREFIX}/man/man1 +post-install: @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/${DBVERSION}/${DBFILE} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/database-${DBVERSION}/${DBFILE} \ + ${STAGEDIR}${DATADIR} .include Index: head/audio/adplay/distinfo =================================================================== --- head/audio/adplay/distinfo (revision 438826) +++ head/audio/adplay/distinfo (revision 438827) @@ -1,4 +1,5 @@ -SHA256 (adplay-1.7.tar.gz) = 524c02456acee0b1a934a02cd4bfc5c6461813aa7bcf88a68422d8132232c7ad -SIZE (adplay-1.7.tar.gz) = 360854 -SHA256 (adplugdb-2006-07-07.tar.gz) = 3e931150d0e290a7243fe4247376cc910b10cb88932b452fc73c8becedcce8b8 -SIZE (adplugdb-2006-07-07.tar.gz) = 4245 +TIMESTAMP = 1492585695 +SHA256 (adplug-adplay-unix-v1.7_GH0.tar.gz) = 2c3dd462f3c33f3b03a3cfd06b0efd3c90e0ec60bd03f28e7b9b05dde0b76956 +SIZE (adplug-adplay-unix-v1.7_GH0.tar.gz) = 43387 +SHA256 (adplug-database-7ac0819_GH0.tar.gz) = 35e1a166edd841deb5cfd5661af84c520fb8ebf8972158de17bec05ea2676848 +SIZE (adplug-database-7ac0819_GH0.tar.gz) = 4467 Index: head/audio/adplay/files/patch-acinclude.m4 =================================================================== --- head/audio/adplay/files/patch-acinclude.m4 (nonexistent) +++ head/audio/adplay/files/patch-acinclude.m4 (revision 438827) @@ -0,0 +1,20 @@ +--- acinclude.m4.orig 2010-01-01 08:21:00 UTC ++++ acinclude.m4 +@@ -422,7 +422,7 @@ if test "$alsa_prefix" != "" ; then + fi + + dnl add the alsa library +-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" ++ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread" + LIBS="$ALSA_LIBS $LIBS" + AC_MSG_RESULT($ALSA_LIBS) + +@@ -541,7 +541,7 @@ AC_ARG_ENABLE(aotest, [ --disable-aotes + + # see where dl* and friends live + AC_CHECK_FUNCS(dlopen, [AO_DL_LIBS=""], [ +- AC_CHECK_LIB(dl, dlopen, [AO_DL_LIBS="-ldl"], [ ++ AC_CHECK_LIB(dl, dlopen, [ + AC_MSG_WARN([could not find dlopen() needed by libao sound drivers + your system may not be supported.]) + ]) Property changes on: head/audio/adplay/files/patch-acinclude.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/adplay/pkg-descr =================================================================== --- head/audio/adplay/pkg-descr (revision 438826) +++ head/audio/adplay/pkg-descr (revision 438827) @@ -1,4 +1,4 @@ Adplay is a command line AdLib player using the adplug library. It supports many AdLib formats such as HSP and HSC. -WWW: http://adplug.sourceforge.net/ +WWW: http://adplug.github.io/