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/}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
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'
|
|
|
|
|
2000-07-21 14:06:25 +00:00
|
|
|
.include <bsd.port.mk>
|