blob: e228c986cde4f920eb2c8e2a70ee163f35db0d8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.12 2014/01/12 22:22:25 spz Exp $
#
DISTNAME= roller-weblogger-${ROLLER_VER}-for-tomcat
PKGNAME= apache-roller-${ROLLER_VER}
WRKSRC= ${WRKDIR}/${DISTNAME:S/-for//}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE:=roller/roller-5/v${ROLLER_VER}/bin/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://roller.apache.org/
COMMENT= Full-featured, multi-user and group-blog server
BUILD_DEPENDS+= fastjar-[0-9]*:../../archivers/fastjar
USE_JAVA= run
USE_JAVA2= 1.5
ROLLER_VER= 5.0.3
PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q}
.include "options.mk"
do-build:
:
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/roller-${ROLLER_VER}-tomcat.war \
${DESTDIR}${PREFIX}/share/apache-roller/${PKGNAME_NOREV}.war
${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"
|