| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.4 2012/02/05 15:43:16 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2012/06/24 07:28:45 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= aipo6030ja_linux32 | | 4 | DISTNAME= aipo6030ja_linux32 |
5 | PKGNAME= aipo-6.03 | | 5 | PKGNAME= aipo-6.03 |
6 | CATEGORIES= www | | 6 | CATEGORIES= www |
7 | MASTER_SITES= http://aipo.googlecode.com/files/ | | 7 | MASTER_SITES= http://aipo.googlecode.com/files/ |
8 | | | 8 | |
9 | MAINTAINER= ryoon@NetBSD.org | | 9 | MAINTAINER= ryoon@NetBSD.org |
10 | HOMEPAGE= http://www.aipo.com/ | | 10 | HOMEPAGE= http://www.aipo.com/ |
11 | COMMENT= Web-based groupware that supports Japanese interface | | 11 | COMMENT= Web-based groupware that supports Japanese interface |
12 | LICENSE= gnu-agpl-v3 | | 12 | LICENSE= gnu-agpl-v3 |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
| @@ -16,27 +16,27 @@ PKG_DESTDIR_SUPPORT= user-destdir | | | @@ -16,27 +16,27 @@ PKG_DESTDIR_SUPPORT= user-destdir |
16 | USE_JAVA= run | | 16 | USE_JAVA= run |
17 | USE_JAVA2= 6 | | 17 | USE_JAVA2= 6 |
18 | | | 18 | |
19 | NO_BUILD= yes | | 19 | NO_BUILD= yes |
20 | | | 20 | |
21 | WRKSRC= ${WRKDIR} | | 21 | WRKSRC= ${WRKDIR} |
22 | USE_LANGUAGES= # none | | 22 | USE_LANGUAGES= # none |
23 | | | 23 | |
24 | USE_TOOLS+= gunzip pax tar | | 24 | USE_TOOLS+= gunzip pax tar |
25 | | | 25 | |
26 | AIPO_DIR= share/aipo | | 26 | AIPO_DIR= share/aipo |
27 | TOMCAT_DIR= share/tomcat | | 27 | TOMCAT_DIR= share/tomcat |
28 | | | 28 | |
29 | INSTALLATION_DIRS= share/tomcat/lib | | 29 | INSTALLATION_DIRS= share/tomcat/lib ${AIPO_DIR}/webapps/aipo/WEB-INF |
30 | | | 30 | |
31 | SUBST_CLASSES+= username | | 31 | SUBST_CLASSES+= username |
32 | SUBST_STAGE.username= pre-configure | | 32 | SUBST_STAGE.username= pre-configure |
33 | SUBST_MESSAGE.username= Set default username and password | | 33 | SUBST_MESSAGE.username= Set default username and password |
34 | SUBST_FILES.username= aipo/src/webapps/aipo/WEB-INF/datasource/dbcp-org001.properties | | 34 | SUBST_FILES.username= aipo/src/webapps/aipo/WEB-INF/datasource/dbcp-org001.properties |
35 | SUBST_FILES.username+= aipo/src/webapps/ROOT/WEB-INF/datasource/dbcp-org001.properties | | 35 | SUBST_FILES.username+= aipo/src/webapps/ROOT/WEB-INF/datasource/dbcp-org001.properties |
36 | SUBST_SED.username= -e 's,cayenne.dbcp.username=postgres,cayenne.dbcp.username=aipo_pgsql,' | | 36 | SUBST_SED.username= -e 's,cayenne.dbcp.username=postgres,cayenne.dbcp.username=aipo_pgsql,' |
37 | SUBST_SED.username+= -e 's,cayenne.dbcp.password=aipo,cayenne.dbcp.password=aipo_db_password,' | | 37 | SUBST_SED.username+= -e 's,cayenne.dbcp.password=aipo,cayenne.dbcp.password=aipo_db_password,' |
38 | | | 38 | |
39 | post-extract: | | 39 | post-extract: |
40 | cd ${WRKSRC} && ${GUNZIP_CMD} -c aipo6030.tar.gz | ${TAR} -xpf - | | 40 | cd ${WRKSRC} && ${GUNZIP_CMD} -c aipo6030.tar.gz | ${TAR} -xpf - |
41 | | | 41 | |
42 | do-install: | | 42 | do-install: |