summaryrefslogtreecommitdiff
path: root/www/apache-roller/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-02-12 00:26:59 +0000
committeradrianp <adrianp@pkgsrc.org>2009-02-12 00:26:59 +0000
commiteed171569be79da52c83ded59aa341b8a5892119 (patch)
tree3be74d1af9cf516d54a3576927737f5638d1655e /www/apache-roller/Makefile
parent601eb83a16c66a59d9318a2060dad3623f613b4a (diff)
downloadpkgsrc-eed171569be79da52c83ded59aa341b8a5892119.tar.gz
Apache Roller is a full-featured, multi-user and group-blog server suitable
for blog sites large and small. Roller is a Java web application that should be able to run on any Java EE server and any relational database. Currently, Roller is best supported on Tomcat and MySQL -- but users have reported success running Roller on Glassfish, Websphere, JBoss, Resin, Gernonimo, Derby, PostgresSQL, Oracle, etc.) Here are some of Roller's key features: * Multi-user blogging: can support tens of thousands of users and blogs * Group blogging with three permisson levels (editor, author and limited) * Support for comment moderation and comment spam prevention measures * Bloggers have complete control over blog layout/style via templates * Built-in search engine indexes weblog entry content * Pluggable cache and rendering system * Support for blog clients that support MetaWeblog API * All blogs have entry and comment feeds in both RSS 2.0 and Atom 1.0 formats
Diffstat (limited to 'www/apache-roller/Makefile')
-rw-r--r--www/apache-roller/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/www/apache-roller/Makefile b/www/apache-roller/Makefile
new file mode 100644
index 00000000000..8e25da0f2e1
--- /dev/null
+++ b/www/apache-roller/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $
+#
+
+DISTNAME= apache-roller-4.0.1
+CATEGORIES= www
+MASTER_SITES= http://mirror.lividpenguin.com/pub/apache/roller/roller-4/v4.0.1/bin/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://roller.apache.org/
+COMMENT= Full-featured, multi-user and group-blog server
+
+USE_JAVA= run
+USE_JAVA2= 1.5
+
+PKG_DESTDIR_SUPPORT= user-destdir
+PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q}
+
+.include "options.mk"
+
+do-build:
+ cd ${WRKSRC}/webapp/roller && ${PKG_JAVA_HOME}/bin/jar cvf \
+ ../${PKGNAME_NOREV}.war *
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/apache-roller
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/apache-roller
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/apache-roller
+
+ ${INSTALL_DATA} ${WRKSRC}/docs/roller-*.pdf \
+ ${DESTDIR}${PREFIX}/share/doc/apache-roller
+ ${INSTALL_DATA} ${WRKSRC}/*.txt \
+ ${DESTDIR}${PREFIX}/share/doc/apache-roller
+ ${INSTALL_DATA} ${WRKSRC}/webapp/${PKGNAME_NOREV}.war \
+ ${DESTDIR}${PREFIX}/share/apache-roller
+ ${INSTALL_DATA} ${FILESDIR}/roller-custom.properties \
+ ${DESTDIR}${PREFIX}/share/examples/apache-roller
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"