freebsd-ports/net/crescendo/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: crescendo
# Date created: 27.Apr 2000
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
# $MCom: ports/net/crescendo/Makefile,v 1.2 2006/10/07 16:29:01 mezz Exp $
#
PORTNAME= crescendo
PORTVERSION= 1.1.7
PORTREVISION= 6
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
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
RUN_DEPENDS= tf:${PORTSDIR}/net/tinyfugue
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-compile-warnings=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CFLAGS+= -g
PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
2002-06-21 18:55:26 +02:00
MODIFY= Makefile.in data/Makefile.in
USE_XLIB= yes
2003-01-04 20:47:05 +01:00
USE_GNOME= gnomelibs
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
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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
2004-01-31 13:19:33 +01:00
.for i in AUTHORS ChangeLog HACKING INSTALL NEWS \
README README.BINARY TODO
2004-01-31 13:19:33 +01:00
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
2007-05-28 11:06:36 +02:00
.include <bsd.port.mk>