ea573ffe33
Thanks to Jeremy Lea Submitted by: reg
43 lines
1022 B
Makefile
43 lines
1022 B
Makefile
# New ports collection makefile for: crescendo
|
|
# Date created: 27.Apr 2000
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crescendo
|
|
PORTVERSION= 1.1.6
|
|
CATEGORIES= net gnome
|
|
MASTER_SITES= http://crescendo.dpnd.com/files/
|
|
|
|
MAINTAINER= dirk.meyer@dinoex.sub.org
|
|
|
|
RUN_DEPENDS= tf:${PORTSDIR}/net/tinyfugue
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS+= --enable-compile-warnings=yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
CFLAGS+= -g
|
|
PLIST_SUB= DOCDIR=${DOCDIR}
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
|
|
pre-patch:
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
s|\$\(prefix\)/share/|\$\(datadir\)/|g'
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
.for file in AUTHORS COPYING ChangeLog HACKING INSTALL NEWS \
|
|
README README.BINARY TODO
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/${DOCDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|