2000-06-07 12:53:29 -04:00
|
|
|
# New ports collection makefile for: moonshine
|
2000-11-01 10:51:11 -05:00
|
|
|
# Date created: 26 April 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-06-07 12:53:29 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= moonshine
|
2001-04-05 12:29:00 -04:00
|
|
|
PORTVERSION= 1.1.5
|
2000-06-07 12:53:29 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.suite3220.com/pub/Moonshine/1.1/src/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
|
2000-07-24 13:05:24 -04:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2000-06-07 12:53:29 -04:00
|
|
|
|
2001-04-03 04:14:43 -04:00
|
|
|
USE_QT_VER= 2
|
2000-06-07 12:53:29 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_XLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2001-04-05 12:29:00 -04:00
|
|
|
CONFIGURE_ENV= QTDIR="${X11BASE}"
|
2001-04-04 03:52:38 -04:00
|
|
|
QTCPPFLAGS+= -I${X11BASE}/include
|
2000-06-07 12:53:29 -04:00
|
|
|
|
2001-03-11 04:04:13 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
2000-06-07 12:53:29 -04:00
|
|
|
pre-configure:
|
2001-03-11 04:04:13 -05:00
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$$\{prefix\}/moonshine|\$$\{prefix\}/share/moonshine| ; \
|
|
|
|
s|\@INSTBIN\@|${PREFIX}/bin| ; s|moc -o|\$$\(MOC\) -o|'
|
|
|
|
@${PERL} -pi -e 's|/usr/share/moonshine|${PREFIX}/share/moonshine|' \
|
|
|
|
${WRKSRC}/include/tags.h
|
2000-06-07 12:53:29 -04:00
|
|
|
|
2001-03-11 04:04:13 -05:00
|
|
|
.include <bsd.port.post.mk>
|