8d6597e0bb
With hat: portmgr Sponsored by: Absolight
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# Created by: gslin@ccca.nctu.edu.tw
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= raggle
|
|
PORTVERSION= 0.4.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.raggle.org/files/
|
|
|
|
MAINTAINER= jadawin@FreeBSD.org
|
|
COMMENT= Console RSS aggregator written in Ruby
|
|
|
|
RUN_DEPENDS= ${RUBY_SITELIBDIR}/ncurses.rb:devel/ruby-ncurses
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
DOCS= AUTHORS BUGS COPYING ChangeLog README TODO \
|
|
doc/default_config.rb doc/pauls_feeds.opml.gz \
|
|
doc/theme_documentation.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/raggle ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/themes \
|
|
${STAGEDIR}${DATADIR}/extras/web_ui/images \
|
|
${STAGEDIR}${DATADIR}/extras/web_ui/inc ${STAGEDIR}${DATADIR}/extras/win32
|
|
${INSTALL_DATA} ${WRKSRC}/extras/*.rb ${STAGEDIR}${DATADIR}/extras
|
|
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/*.html \
|
|
${STAGEDIR}${DATADIR}/extras/web_ui
|
|
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/images/* \
|
|
${STAGEDIR}${DATADIR}/extras/web_ui/images
|
|
${INSTALL_DATA} ${WRKSRC}/extras/web_ui/inc/* \
|
|
${STAGEDIR}${DATADIR}/extras/web_ui/inc
|
|
${INSTALL_DATA} ${WRKSRC}/extras/win32/* ${STAGEDIR}${DATADIR}/extras/win32
|
|
${INSTALL_DATA} ${WRKSRC}/themes/* ${STAGEDIR}${DATADIR}/themes
|
|
${INSTALL_MAN} ${WRKSRC}/raggle.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|