1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/mail/mmc/Makefile

33 lines
856 B
Makefile
Raw Normal View History

# New ports collection makefile for: mmc
# Date created: 21 July 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mmc
PORTVERSION= 0.5
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
GNU_CONFIGURE= yes
2000-10-05 07:17:31 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2000-10-05 07:17:31 +00:00
pre-patch:
@${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'
.include <bsd.port.mk>