diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2009-09-27 22:02:30 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2009-09-27 22:02:30 +0000 |
commit | ac1cee1eddd316b1e18f8d2c24755600606133d8 (patch) | |
tree | f754d2844c0744799a3e367d93765e9616497467 /audio/mp3info | |
parent | 2832f9193577704f26eb0ee5784c8be9acbe7908 (diff) | |
download | ports-ac1cee1eddd316b1e18f8d2c24755600606133d8.tar.gz ports-ac1cee1eddd316b1e18f8d2c24755600606133d8.zip |
Notes
Diffstat (limited to 'audio/mp3info')
-rw-r--r-- | audio/mp3info/Makefile | 25 | ||||
-rw-r--r-- | audio/mp3info/pkg-plist | 6 |
2 files changed, 14 insertions, 17 deletions
diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile index 56a5c9d44552..2d1c8608e0c4 100644 --- a/audio/mp3info/Makefile +++ b/audio/mp3info/Makefile @@ -13,39 +13,42 @@ MASTER_SITE_SUBDIR= apps/sound/mp3-utils/mp3info DISTNAME= ${PORTNAME}-${PORTVERSION}a EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= scjamorim@bsd.com.br COMMENT= Tool to manipulate ID3 tags for MP3 files WANT_GNOME= yes +PORTDOCS= ChangeLog README mp3info.txt + +OPTIONS= "GTK2" "Enable to have the gmp3info" "off" + +PLIST_FILES= bin/mp3info \ + %%WITH_GTK%%bin/gmp3info + MAN1= mp3info.1 .include <bsd.port.pre.mk> ALL_TARGET= doc mp3info -.if ${HAVE_GNOME:Mgtk12}!="" +.if defined (WITH_GTK2) PKGNAMESUFFIX= -gtk -USE_GNOME+= gtk12 +USE_GNOME+= gtk20 ALL_TARGET+= gmp3info +MAKE_ARGS= install-gmp3info PLIST_SUB+= WITH_GTK="" .else PLIST_SUB+= WITH_GTK="@comment " .endif -MAKE_ENV+= GTK_CONFIG="${GTK_CONFIG}" - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${PREFIX}/bin -.if defined(HAVE_GTK) - ${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${PREFIX}/bin -.endif ${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/mp3info.txt ${DOCSDIR} +.for docs in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor .endif .include <bsd.port.post.mk> diff --git a/audio/mp3info/pkg-plist b/audio/mp3info/pkg-plist deleted file mode 100644 index c513e3fa1d6a..000000000000 --- a/audio/mp3info/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/mp3info -%%WITH_GTK%%bin/gmp3info -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/mp3info.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% |