summaryrefslogtreecommitdiff
path: root/www/openacs/Makefile
diff options
context:
space:
mode:
authorcjones <cjones@pkgsrc.org>2001-07-19 04:35:59 +0000
committercjones <cjones@pkgsrc.org>2001-07-19 04:35:59 +0000
commitbac143f57991c9dd1faa709758066a4c5f36e115 (patch)
treeb3fc7c59b5a7c4d9d79710cae4e46eaa1f1cc9d5 /www/openacs/Makefile
parent927bfbea7aa06f358c065fa236a452d260c09c9e (diff)
downloadpkgsrc-bac143f57991c9dd1faa709758066a4c5f36e115.tar.gz
Import OpenACS, a port of the Ars Digita Community System to
PostgreSQL. OpenACS is a web development environment which includes a staggering number of already-built modules.
Diffstat (limited to 'www/openacs/Makefile')
-rw-r--r--www/openacs/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/www/openacs/Makefile b/www/openacs/Makefile
new file mode 100644
index 00000000000..a05f42e0d51
--- /dev/null
+++ b/www/openacs/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/19 04:35:59 cjones Exp $
+#
+
+DISTNAME= openacs-3.2.5
+CATEGORIES= www
+MASTER_SITES= # none
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= cjones@netbsd.org
+HOMEPAGE= http://www.openacs.org/
+COMMENT= TCL-based web programming environment
+
+# Would also work with AOLServer, but there's no package for that.
+DEPENDS+= ap-aolserver-1.1:../../www/ap-aolserver
+DEPENDS+= postgresql-lib>=7:../../databases/postgresql-lib
+DEPENDS+= ImageMagick:../../graphics/ImageMagick
+DEPENDS+= unzip:../../archivers/unzip
+BUILD_DEPENDS+= postgresql-client>=7:../../databases/postgresql-client
+
+NO_CONFIGURE= # set
+NO_BUILD= # set
+
+MESSAGE_SUBST+= PREFIX=${PREFIX}
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTFILES} ] ; then \
+ ${ECHO} "Please fetch ${DISTFILES} into ${DISTDIR}" ; \
+ ${ECHO} "from ${HOMEPAGE} ." ; \
+ exit 1 ; \
+ fi
+
+SEDFILES=${WRKSRC}/parameters/ad.tcl \
+ ${WRKSRC}/bin/aolserver-errors.pl \
+ ${WRKSRC}/bin/queue-message.pl \
+ ${WRKSRC}/www/doc/sql/postgres.sql \
+ ${WRKDIR}/install-openacs
+# This intentionally clobbers the .orig files:
+post-patch:
+ ${CP} ${FILESDIR}/install-openacs ${WRKDIR}
+ for F in ${SEDFILES} ; do \
+ ${SED} "s,@PREFIX@,${PREFIX},g" < $$F > $$F.orig ; \
+ ${MV} $$F.orig $$F ; \
+ done
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/install-openacs ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/openacs
+ ( cd ${WRKSRC} ; tar cf - . ) | \
+ ( cd ${PREFIX}/share/openacs ; tar xf - )
+
+.include "../../mk/bsd.pkg.mk"