View | Details | Raw Unified | Return to bug 174172
Collapse All | Expand All

(-)audio/xhippo/Makefile (-30 / +22 lines)
Lines 1-51 Link Here
1
# New ports collection makefile for:	xhippo
1
# Created by: Rod Taylor <rod@zort.on.ca>
2
# Date created:				16 March 1999
3
# Whom:					Rod Taylor <rod@zort.on.ca>
4
#
5
# $FreeBSD: head/audio/xhippo/Makefile 308123 2012-12-03 05:26:26Z kevlo $
2
# $FreeBSD: head/audio/xhippo/Makefile 308123 2012-12-03 05:26:26Z kevlo $
6
#
7
3
8
PORTNAME=	xhippo
4
PORTNAME=	xhippo
9
PORTVERSION=	3.3
5
PORTVERSION=	3.5
10
PORTREVISION=	5
11
CATEGORIES=	audio
6
CATEGORIES=	audio
12
MASTER_SITES=	${MASTER_SITE_GNU}
7
MASTER_SITES=	GNU
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
8
15
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Generic music player for UNIX systems
10
COMMENT=	Generic music player for UNIX systems
17
11
12
LICENSE=	GPLv3
13
14
LIB_DEPENDS=	id3tag:${PORTSDIR}/audio/libid3tag
18
RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
15
RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
19
16
17
USE_GNOME=	gtk20
20
USE_GETTEXT=	yes
18
USE_GETTEXT=	yes
21
USE_GNOME=	gtk12
22
WANT_GNOME=	yes
23
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-gtk2
21
MAKE_JOBS_SAFE=	yes
24
22
25
DOCS=		ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.html.gz \
23
CPPFLAGS+=	-I${LOCALBASE}/include
26
		xhippo.info.gz xhippo.ps.gz xhippo.sgml xhippo.txt.gz
24
LDFLAGS+=	-L${LOCALBASE}/lib
27
28
MAN1=	xhippo.1
29
25
30
.include <bsd.port.pre.mk>
26
MAN1=		xhippo.1
27
INFO=		xhippo
31
28
32
.if ${HAVE_GNOME:Mgnomelibs}!=""
29
post-extract:
33
USE_GNOME+=	gnomelibs
30
	@${LN} -sf xhippo.config ${WRKSRC}/xhippo.config.default
34
PKGNAMESUFFIX=	-gnome
31
35
CONFIGURE_ARGS+=	--with-gnome
32
post-patch:
36
.endif
33
	@${REINPLACE_CMD} -e \
34
		'/^sysconf_DATA/s|=.*|= xhippo.config.default|' \
35
		${WRKSRC}/Makefile.in 
37
36
38
post-install:
37
post-install:
39
.if !defined(NOPORTDOCS)
40
	${MKDIR} ${DOCSDIR}
41
.for i in ${DOCS}
42
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
43
.endfor
44
.endif
45
	${INSTALL_DATA} ${WRKSRC}/xhippo.config ${PREFIX}/etc/xhippo.config.default
46
.if !exists(${PREFIX}/etc/xhippo.config)
38
.if !exists(${PREFIX}/etc/xhippo.config)
47
	${CP} ${PREFIX}/etc/xhippo.config.default ${PREFIX}/etc/xhippo.config
39
	(cd ${PREFIX}/etc && ${CP} xhippo.config.default xhippo.config)
48
.endif
40
.endif
49
	@${CAT} ${PKGMESSAGE}
41
	@${CAT} ${PKGMESSAGE}
50
42
51
.include <bsd.port.post.mk>
43
.include <bsd.port.mk>
(-)audio/xhippo/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (xhippo-3.3.tar.gz) = 8e21f81e1e2387b36c9d1f3318d3b57d89e43a79840d2f9c13c9925f9c65e761
1
SHA256 (xhippo-3.5.tar.gz) = 05dd24b55ff9fe45191a571493e83740269ee4bd48b58fbd85b1b5dc98f16c6e
2
SIZE (xhippo-3.3.tar.gz) = 417111
2
SIZE (xhippo-3.5.tar.gz) = 304142
(-)audio/xhippo/pkg-plist (-9 lines)
Lines 2-14 Link Here
2
@unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi
2
@unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi
3
etc/xhippo.config.default
3
etc/xhippo.config.default
4
@exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
4
@exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
5
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
6
%%PORTDOCS%%%%DOCSDIR%%/gnu-xhippo.html
7
%%PORTDOCS%%%%DOCSDIR%%/screenshot.jpeg
8
%%PORTDOCS%%%%DOCSDIR%%/xhippo.html.gz
9
%%PORTDOCS%%%%DOCSDIR%%/xhippo.info.gz
10
%%PORTDOCS%%%%DOCSDIR%%/xhippo.ps.gz
11
%%PORTDOCS%%%%DOCSDIR%%/xhippo.sgml
12
%%PORTDOCS%%%%DOCSDIR%%/xhippo.txt.gz
13
%%PORTDOCS%%@dirrm %%DOCSDIR%%
14
share/locale/de/LC_MESSAGES/xhippo.mo
5
share/locale/de/LC_MESSAGES/xhippo.mo

Return to bug 174172