2006-11-03 12:01:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2006/11/03 17:01:10 espie Exp $
|
2001-05-05 21:45:53 -04:00
|
|
|
|
2001-09-09 13:56:59 -04:00
|
|
|
COMMENT= "once-popular mail user agent"
|
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
|
2002-10-27 12:21:39 -05:00
|
|
|
|
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-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Paul Janzen <pjanzen@openbsd.org>
|
1997-11-17 23:09:46 -05:00
|
|
|
|
2000-04-19 01:24:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-01-02 07:56:04 -05:00
|
|
|
WANTLIB= c termlib
|
2000-04-19 01:24:32 -04:00
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
1997-11-17 23:09:46 -05:00
|
|
|
CONFIGURE_SCRIPT= Configure
|
2000-01-05 04:06:12 -05:00
|
|
|
CONFIGURE_ARGS+= -S -d
|
2000-06-04 18:06:30 -04:00
|
|
|
CONFIGURE_ENV+= PREFIX='$${DESTDIR}${PREFIX}'
|
2000-01-23 02:06:15 -05:00
|
|
|
|
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
|
|
|
|
2000-07-14 18:52:08 -04:00
|
|
|
post-configure:
|
|
|
|
@perl -pi.bak -e 's,\$${DESTDIR},,g;' \
|
|
|
|
${WRKBUILD}/config.h ${WRKBUILD}/hdrs/sysdefs.h \
|
|
|
|
${WRKBUILD}/utils/{checkalias,listalias,messages,printmail}
|
2002-10-27 12:21:39 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1997-11-17 23:09:46 -05:00
|
|
|
post-install:
|
2000-01-23 02:06:15 -05:00
|
|
|
@cd ${WRKSRC}/nls; make install
|
2004-09-15 05:09:41 -04:00
|
|
|
${INSTALL_DATA} \
|
|
|
|
${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist
|
|
|
|
ln -f ${PREFIX}/man/cat1/newmail.0 ${PREFIX}/man/cat1/wnewmail.0
|
|
|
|
ln -f ${PREFIX}/bin/frm ${PREFIX}/bin/nfrm
|
|
|
|
ln -f ${PREFIX}/bin/newmail ${PREFIX}/bin/wnewmail
|
1997-11-17 23:09:46 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|