From bd46d72d7701d3f4929adad25cb52a4202272eb1 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 14 Jul 2014 09:56:30 +0000 Subject: [PATCH] - Update COMMENT - Remove ALL_TARGET=doc - Remove WANT_GNOME - Simplify Makefile - Cosmetic change - Update pkg-descr --- audio/mp3info/Makefile | 35 +++++++++++++---------------------- audio/mp3info/pkg-descr | 11 ++++------- 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile index 27b23c0a6e83..640c762aa450 100644 --- a/audio/mp3info/Makefile +++ b/audio/mp3info/Makefile @@ -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 +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 diff --git a/audio/mp3info/pkg-descr b/audio/mp3info/pkg-descr index bee9b52ecbb4..b1f4cb2c6785 100644 --- a/audio/mp3info/pkg-descr +++ b/audio/mp3info/pkg-descr @@ -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/