aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3info/Makefile
blob: 26592b6f9e232b8776d3e2f5d63025f561f0a9c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=   mp3info
PORTVERSION=    0.8.5
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/mp3-utils/mp3info
DISTNAME=   ${PORTNAME}-${PORTVERSION}a

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    MP3 technical info viewer and ID3 1.x tag editor

LICENSE=    GPLv2

OPTIONS_DEFINE= GTK2 DOCS
GTK2_DESC=  Enable to have the gmp3info

ALL_TARGET= mp3info
USES=       tar:tgz

PLIST_FILES=    bin/mp3info man/man1/mp3info.1.gz
PORTDOCS=   ChangeLog README mp3info.txt

GTK2_ALL_TARGET=    gmp3info
GTK2_PLIST_FILES=   bin/gmp3info
GTK2_USE=       GNOME=gtk20
GTK2_USES=      pkgconfig

do-install:
    ${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>