freebsd-ports/www/rssowl/Makefile
Jean-Yves Lefort 382f3580d4 Add rssowl.
RSSOwl is a free, opensource RSS / RDF / Atom Newsreader.
Some special features are:

  - Export News to PDF, HTML, RTF, OPML
  - Import Favorites from OPML
  - Full text-search with syntax-highlight of the results
  - Powerful Newsfeed search-engine
  - View news in internal browser
  - Manage favorites in categories (Drag and Drop support)
  - Runs on Windows, Linux, Solaris and Mac

For a complete list of features, see: http://www.rssowl.org/overview

WWW: http://www.rssowl.org/

PR:		ports/92708
Submitted by:	Matthias Sund <m.sund@arcor.de>
2006-02-06 16:14:11 +00:00

64 lines
1.5 KiB
Makefile

# New ports collection makefile for: rssowl
# Date created: February, 1st 2006
# Whom: Matthias Sund <m.sund@arcor.de>
#
# $FreeBSD$
#
PORTNAME= rssowl
PORTVERSION= 1.1.3
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= rssowl
DISTNAME= rssowl_${PORTVERSION:S|.|_|g}_src
MAINTAINER= m.sund@arcor.de
COMMENT= Portable RSS, RDF, Atom Newsfeeds reader
BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31
RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31
USE_X_PREFIX= yes
BUILD_WRKSRC= ${WRKSRC}/src
ONLY_FOR_ARCHS= i386 amd64
USE_JAVA= yes
JAVA_VERSION= 1.4+
JAVA_OS= native
JAVA_RUN= yes
USE_ANT= yes
ALL_TARGET= deploy_linux
PLIST_FILES= bin/rssowl %%DATADIR%%/rssowl.jar share/pixmaps/rssowl.png
PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="RSSOwl" \
"Read newsfeeds" \
"rssowl.png" \
"rssowl" \
"Application;Network;News;" \
true
post-patch:
@${REINPLACE_CMD} -e \
's|$${java\.io\.tmpdir}/source/|$${basedir}/temp/|; \
s|$${root}/lib/swt\.jar|${JAVALIBDIR}/swt.jar|' \
${BUILD_WRKSRC}/build.xml
post-build:
@${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/rssowl
@${ECHO_CMD} "exec java -jar ${DATADIR}/rssowl.jar" >> ${WRKSRC}/rssowl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rssowl ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/rssowl.jar ${DATADIR}
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/img/32x32.png ${PREFIX}/share/pixmaps/rssowl.png
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>