|
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> |