2000-07-29 12:31:36 +02:00
|
|
|
# New ports collection makefile for: crescendo
|
|
|
|
# Date created: 27.Apr 2000
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/net/crescendo/Makefile,v 1.2 2006/10/07 16:29:01 mezz Exp $
|
|
|
|
#
|
2000-07-29 12:31:36 +02:00
|
|
|
|
|
|
|
PORTNAME= crescendo
|
2001-08-21 20:35:46 +02:00
|
|
|
PORTVERSION= 1.1.7
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 6
|
2000-07-29 12:31:36 +02:00
|
|
|
CATEGORIES= net gnome
|
2001-12-17 12:57:33 +01:00
|
|
|
# Master Site broken
|
|
|
|
#MASTER_SITES= http://crescendo.lyrical.net/files/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= dinoex
|
2000-07-29 12:31:36 +02:00
|
|
|
|
2004-10-13 22:53:28 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= A gnome frontend for tinyfuge
|
2000-07-29 12:31:36 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= tf:${PORTSDIR}/net/tinyfugue
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-10 06:08:30 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-compile-warnings=yes
|
2000-07-29 12:31:36 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CFLAGS+= -g
|
2002-01-06 00:43:13 +01:00
|
|
|
PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
|
2002-06-21 18:55:26 +02:00
|
|
|
MODIFY= Makefile.in data/Makefile.in
|
2000-07-29 12:31:36 +02:00
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_XLIB= yes
|
2003-01-04 20:47:05 +01:00
|
|
|
USE_GNOME= gnomelibs
|
|
|
|
|
2005-06-02 22:28:41 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
|
|
|
|
${WRKSRC}/configure
|
2007-05-28 11:06:36 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|txtOutput|txtNotepadOutput|g' \
|
|
|
|
${WRKSRC}/src/notepad.c
|
2005-06-02 22:28:41 +02:00
|
|
|
|
2001-03-10 07:16:36 +01:00
|
|
|
pre-patch:
|
2002-06-21 18:55:26 +02:00
|
|
|
.for i in ${MODIFY}
|
|
|
|
@${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
|
2003-01-04 20:47:05 +01:00
|
|
|
${SED} -e 's=$$(prefix)/share/=$$(datadir)/gnome/=g' \
|
2002-06-21 18:55:26 +02:00
|
|
|
${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
|
|
|
|
.endfor
|
2001-03-10 07:16:36 +01:00
|
|
|
|
2000-07-29 12:31:36 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-06 00:43:13 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-01-31 13:19:33 +01:00
|
|
|
.for i in AUTHORS ChangeLog HACKING INSTALL NEWS \
|
2000-07-29 12:31:36 +02:00
|
|
|
README README.BINARY TODO
|
2004-01-31 13:19:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
2000-07-29 12:31:36 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2007-05-28 11:06:36 +02:00
|
|
|
.include <bsd.port.mk>
|