diff options
author | krion <krion@FreeBSD.org> | 2004-07-18 02:27:59 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-18 02:27:59 +0800 |
commit | f42b15adf6dfbac3e3efdaafa3c8bd1d507ad0ea (patch) | |
tree | 7863612c11e92967a030c883f9fa3b0fa5fe22d4 /audio/mp3stat/Makefile | |
parent | e261401a930c5a40fb10c00a43440565360f33d6 (diff) | |
download | freebsd-ports-gnome-f42b15adf6dfbac3e3efdaafa3c8bd1d507ad0ea.tar.gz freebsd-ports-gnome-f42b15adf6dfbac3e3efdaafa3c8bd1d507ad0ea.tar.zst freebsd-ports-gnome-f42b15adf6dfbac3e3efdaafa3c8bd1d507ad0ea.zip |
Update to version 2.5.10
PR: ports/69185
Submitted by: Ports Fury
Diffstat (limited to 'audio/mp3stat/Makefile')
-rw-r--r-- | audio/mp3stat/Makefile | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/audio/mp3stat/Makefile b/audio/mp3stat/Makefile index 23e14897d9ef..689895030e31 100644 --- a/audio/mp3stat/Makefile +++ b/audio/mp3stat/Makefile @@ -7,10 +7,9 @@ # PORTNAME= mp3stat -PORTVERSION= 2.5.6 -PORTREVISION= 2 +PORTVERSION= 2.5.10 CATEGORIES= audio -MASTER_SITES= ftp://ftp.cronyx.ru/pub/FreeBSD/ports/distfiles/ +MASTER_SITES= https://signal-lost.homeip.net/files/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org @@ -18,20 +17,31 @@ COMMENT= Read information about mp3s and oggs bitstream WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= bin/mp3stat -USE_GNOME= gtk12 +USE_GNOME= gtk20 USE_GMAKE= yes -MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" +MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" -.if defined(WITH_VORBIS) -LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis -MAKE_ENV+= WITH_VORBIS="${WITH_VORBIS}" +PORTDOCS= README +PLIST_FILES= bin/mp3stat + +.if defined(WITHOUT_VORBIS) +MAKE_ARGS+= VORBIS="" +.else +LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis +CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +.endif pre-everything:: @${ECHO_MSG} - @${ECHO_MSG} "If you want to compile with Ogg/Vorbis support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_VORBIS=yes\"" + @${ECHO_MSG} "If you want to compile without Ogg/Vorbis support," + @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\"" @${ECHO_MSG} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mp3stat ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk> |