1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/lens/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

35 lines
951 B
Makefile

# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
PORTNAME= lens
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= mail ruby
MASTER_SITES= http://www.pitecan.com/Lens/ \
LOCAL/tota/lens
MAINTAINER= tota@FreeBSD.org
COMMENT= Mail filter written in Ruby
NO_BUILD= yes
USE_RUBY= yes
LIB_FILES= lens.rb maildir.rb message.rb parsedate.rb classify.rb
RUBY_SHEBANG_FILES= lens
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lens ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/lens
.for f in ${LIB_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/lens
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lensrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.lensrc
${INSTALL_DATA} ${WRKSRC}/commandmailrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.commandmailrc
.include <bsd.port.mk>