aboutsummaryrefslogtreecommitdiff
path: root/net/crescendo/Makefile
blob: 06c40b5b0291d7a356679710fb1ccd147035660c (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
51
52
53
54
55
# New ports collection makefile for:    crescendo
# Date created:         27.Apr 2000
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$

PORTNAME=	crescendo
PORTVERSION=	1.1.7
PORTREVISION=	2
CATEGORIES=	net gnome
# Master Site broken
#MASTER_SITES=	http://crescendo.lyrical.net/files/
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	dinoex

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A gnome frontend for tinyfuge

RUN_DEPENDS=	tf:${PORTSDIR}/net/tinyfugue

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ARGS+=	--enable-compile-warnings=yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
CFLAGS+=	-g
PLIST_SUB=	DOCDIR=share/doc/${PORTNAME}
MODIFY=		Makefile.in data/Makefile.in

USE_X_PREFIX=	yes
USE_GNOME=	gnomelibs

post-patch:
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure

pre-patch:
.for i in ${MODIFY}
	@${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
	${SED} -e 's=$$(prefix)/share/=$$(datadir)/gnome/=g' \
		${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in AUTHORS ChangeLog HACKING INSTALL NEWS \
		README README.BINARY TODO
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>