diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-09-27 16:14:30 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-09-27 16:14:30 +0000 |
commit | e8ee1c1f45190f61e92fda4250d0b943bcdbb435 (patch) | |
tree | 6ba4ac087886c3093e8f516d9362a86c1aa08272 /mail/elmo/Makefile | |
parent | 2ad014e56d2c200ddc17aac95cac239150acd8e6 (diff) | |
download | ports-e8ee1c1f45190f61e92fda4250d0b943bcdbb435.tar.gz ports-e8ee1c1f45190f61e92fda4250d0b943bcdbb435.zip |
Notes
Diffstat (limited to 'mail/elmo/Makefile')
-rw-r--r-- | mail/elmo/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/mail/elmo/Makefile b/mail/elmo/Makefile new file mode 100644 index 000000000000..2fc8fd74dfe3 --- /dev/null +++ b/mail/elmo/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: elmo +# Date created: 2003-09-27 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= elmo +PORTVERSION= 0.8.3 +CATEGORIES= mail +MASTER_SITES= \ + http://savannah.nongnu.org/download/elmo/unstable.pkg/${PORTVERSION}/ + +MAINTAINER= trevor@FreeBSD.org +COMMENT= Receive, filter, read, compose and send mail at the text console + +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \ + intl.4:${PORTSDIR}/devel/gettext + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" +MAN1= elmo.1 elmoconf.pl.1 +PLIST= ${WRKDIR}/pkg-plist + +pre-extract: + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} sleeping ten seconds--press control-C to cancel build + @${ECHO_CMD} + @sleep 10 + +pre-install: + ${ECHO_CMD} @unexec install-info --delete %D/info/elmo.info %D/info/dir\ + > ${PLIST} + ${ECHO_CMD} @exec install-info --info-dir=%D/info %D/info/elmo.info \ + >> ${PLIST} + ${ECHO_CMD} info/elmo.info >> ${PLIST} +.for ii in elmo elmoconf.pl + ${ECHO_CMD} bin/${ii} >> ${PLIST} +.endfor +.for ii in de pl + ${ECHO_CMD} share/locale/${ii}/LC_MESSAGES/elmo.mo >> ${PLIST} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/elmo ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/src/elmoconf.pl ${PREFIX}/bin/ +.for ii in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/doc/${ii} ${MANPREFIX}/man/man1 +.endfor +.for ii in de pl + ${INSTALL_DATA} ${WRKSRC}/po/${ii}.gmo \ + ${PREFIX}/share/locale/${ii}/LC_MESSAGES/elmo.mo +.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/elmo.info ${PREFIX}/info/ + - install-info --info-dir=${PREFIX}/info ${PREFIX}/info/elmo.info + +.include <bsd.port.mk> |