2000-07-21 14:06:25 +00:00
|
|
|
# New ports collection makefile for: mmc
|
2000-11-01 15:51:11 +00:00
|
|
|
# Date created: 21 July 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-07-21 14:06:25 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mmc
|
2001-02-05 15:11:27 +00:00
|
|
|
PORTVERSION= 0.5
|
2000-07-21 14:06:25 +00:00
|
|
|
CATEGORIES= mail gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/-1/}
|
|
|
|
|
2003-07-29 09:12:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A tiny mail client for Gnome Desktop
|
2000-07-21 14:06:25 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-07-21 14:06:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-07-21 14:06:25 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2002-12-02 00:45:49 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 500000
|
|
|
|
BROKEN= "Does not compile"
|
|
|
|
.endif
|
|
|
|
|
2000-10-05 07:17:31 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-10-05 07:17:31 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
2001-01-25 16:18:17 +00:00
|
|
|
's|\$$\(gnomedatadir\)/gnome/|\$$\(datadir\)/|g ; \
|
2000-10-05 07:17:31 +00:00
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
|
|
|
|
|
2002-12-02 00:45:49 +00:00
|
|
|
.include <bsd.port.post.mk>
|