diff options
Diffstat (limited to 'audio/mp3info/Makefile')
-rw-r--r-- | audio/mp3info/Makefile | 25 |
1 files changed, 14 insertions, 11 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> |