diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-17 18:27:59 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-17 18:27:59 +0000 |
commit | ac1c9663eb712944b31772d86958eac31aef8fac (patch) | |
tree | 34e938a5702b12832306bcf654569f49bb3cf117 /audio/mp3stat/Makefile | |
parent | 8a63d3657dbedc395896b1df4d4d86e79e6fbdc2 (diff) |
Notes
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> |