2000-04-09 13:35:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:36:53 espie Exp $
|
1997-11-17 23:09:46 -05:00
|
|
|
|
2000-01-23 02:06:15 -05:00
|
|
|
DISTNAME= elm-2.4ME+66
|
1997-11-17 23:09:46 -05:00
|
|
|
CATEGORIES= mail
|
2000-02-10 19:37:15 -05:00
|
|
|
NEED_VERSION= 1.191
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
2000-03-24 17:11:32 -05:00
|
|
|
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/
|
1997-11-17 23:09:46 -05:00
|
|
|
|
2000-01-23 02:06:15 -05:00
|
|
|
MAINTAINER= pjanzen@openbsd.org
|
1997-11-17 23:09:46 -05:00
|
|
|
|
2000-01-23 02:06:15 -05:00
|
|
|
HAS_CONFIGURE= yes
|
1997-11-17 23:09:46 -05:00
|
|
|
CONFIGURE_SCRIPT= Configure
|
2000-01-05 04:06:12 -05:00
|
|
|
CONFIGURE_ARGS+= -S -d
|
2000-01-23 02:06:15 -05:00
|
|
|
CONFIGURE_ENV+= PREFIX="${PREFIX}"
|
|
|
|
SCRIPTS_ENV= OPSYS="${OPSYS}"
|
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/elm2.4.ME+.66
|
1997-11-17 23:09:46 -05:00
|
|
|
|
2000-01-23 02:06:15 -05:00
|
|
|
pre-configure:
|
|
|
|
@cp ${FILESDIR}/config.sh ${WRKSRC}
|
|
|
|
@cp ${FILESDIR}/elm.mimecharsets ${WRKSRC}/bin
|
|
|
|
@sed -e s,/usr/local,${PREFIX}, ${WRKSRC}/nls/LANGS > ${WRKSRC}/nls/LANGS.new
|
|
|
|
@mv ${WRKSRC}/nls/LANGS.new ${WRKSRC}/nls/LANGS
|
2000-01-05 04:06:12 -05:00
|
|
|
|
1997-11-17 23:09:46 -05:00
|
|
|
post-install:
|
2000-01-23 02:06:15 -05:00
|
|
|
@cd ${WRKSRC}/nls; make install
|
|
|
|
if [ -f ${PREFIX}/lib/elm.mimetypes ]; then \
|
1997-11-17 23:09:46 -05:00
|
|
|
${INSTALL_DATA} \
|
|
|
|
${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
|
|
|
|
else \
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|