aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xhippo/Makefile
blob: fc2022ac4b392215240129c4d99633a907c2432f (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
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    xhippo
# Date created:             16 March 1999
# Whom:                 Rod Taylor <rod@zort.on.ca>
#
# $FreeBSD$
#

PORTNAME=   xhippo
PORTVERSION=    3.2
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= xhippo

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    A Generic music player for UNIX systems

RUN_DEPENDS=    mpg123:${PORTSDIR}/audio/mpg123

USE_XLIB=   yes
USE_GNOMENG=    yes
USE_GNOME=  gtk12
WANT_GNOME= yes
GNU_CONFIGURE=  yes
MAKE_ARGS=  CFLAGS="${CFLAGS}"

DOCS=       ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.html.gz \
        xhippo.info.gz xhippo.ps.gz xhippo.sgml xhippo.txt.gz

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomelibs
PKGNAMESUFFIX=  -gnome
CONFIGURE_ARGS+=    --with-gnome
.endif

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/xhippo
.for i in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/xhippo
.endfor
.endif
    ${INSTALL_DATA} ${WRKSRC}/xhippo.config ${PREFIX}/etc/xhippo.config.default
.if !exists(${PREFIX}/etc/xhippo.config)
    ${CP} ${PREFIX}/etc/xhippo.config.default ${PREFIX}/etc/xhippo.config
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>