- Update COMMENT

- Remove ALL_TARGET=doc
- Remove WANT_GNOME
- Simplify Makefile
- Cosmetic change
- Update pkg-descr
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-14 09:56:30 +00:00
parent 0276fbec7c
commit bd46d72d77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361745
2 changed files with 17 additions and 29 deletions

View file

@ -7,40 +7,31 @@ CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/mp3-utils/mp3info
DISTNAME= ${PORTNAME}-${PORTVERSION}a
EXTRACT_SUFX= .tgz
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Tool to manipulate ID3 tags for MP3 files
COMMENT= MP3 technical info viewer and ID3 1.x tag editor
LICENSE= GPLv2
WANT_GNOME= yes
PORTDOCS= ChangeLog README mp3info.txt
OPTIONS_DEFINE= GTK2
GTK2_DESC= Enable to have the gmp3info
GTK2_USES= pkgconfig
GTK2_USE= GNOME=gtk20
GTK2_ALL_TARGET= gmp3info
GTK2_PLIST_FILES= bin/gmp3info
ALL_TARGET= mp3info
USES= tar:tgz
PLIST_FILES= bin/mp3info man/man1/mp3info.1.gz
PORTDOCS= ChangeLog README mp3info.txt
ALL_TARGET= doc mp3info
.include <bsd.port.options.mk>
GTK2_ALL_TARGET= gmp3info
GTK2_PLIST_FILES= bin/gmp3info
GTK2_USE= GNOME=gtk20
GTK2_USES= pkgconfig
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MGTK2}
${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${STAGEDIR}${PREFIX}/bin
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${STAGEDIR}${PREFIX}/man/man1/
-${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View file

@ -1,9 +1,6 @@
A small utility to read and write ID3 tags, as well as retrieve and display
the MP3 header information.
Some features include:
* Get, set and wipe ID3 tags
* User-definable output formatting
* Rename files according to a user-defined scheme
MP3Info is a little utility used to read and modify the ID3 tags of MP3 files.
MP3Info can also display various techincal aspects of an MP3 file including
playing time, bit-rate, sampling frequency and other attributes in a pre-defined
or user-specifiable output format.
WWW: http://ibiblio.org/mp3info/