openbsd-ports/mail/elm/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2002-10-27 12:21:39 -05:00
# $OpenBSD: Makefile,v 1.16 2002/10/27 17:21:39 naddy Exp $
COMMENT= "once-popular mail user agent"
DISTNAME= elm-2.4ME+66
CATEGORIES= mail
2002-10-27 12:21:39 -05:00
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/
2000-10-22 10:02:46 -04:00
MAINTAINER= Paul Janzen <pjanzen@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple
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}'
SCRIPTS_ENV= OPSYS="${OPSYS}"
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/elm2.4.ME+.66
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
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
post-install:
@cd ${WRKSRC}/nls; make install
if [ -f ${PREFIX}/lib/elm.mimetypes ]; then \
${INSTALL_DATA} \
${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
else \
${INSTALL_DATA} \
${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
fi
.include <bsd.port.mk>