summaryrefslogtreecommitdiffstats
path: root/devel/horde-chora/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-01 13:32:17 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-01 13:32:17 +0000
commit9959ab16289a0cc739f06038072f12f106f11c20 (patch)
treead8f421bd3aed2629c4624b3cb9138e96ed8c8ba /devel/horde-chora/Makefile
parentddbca69ff1aff092068713fbe3858fdd9e7da157 (diff)
downloadFreeBSD-ports-9959ab16289a0cc739f06038072f12f106f11c20.zip
FreeBSD-ports-9959ab16289a0cc739f06038072f12f106f11c20.tar.gz
fix wrong date display + add syntax highlighting
PR: 35048 Submitted by: maintainer
Diffstat (limited to 'devel/horde-chora/Makefile')
-rw-r--r--devel/horde-chora/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/horde-chora/Makefile b/devel/horde-chora/Makefile
index 8456e3a..0c794b6 100644
--- a/devel/horde-chora/Makefile
+++ b/devel/horde-chora/Makefile
@@ -7,13 +7,32 @@
PORTNAME= chora
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= ftp://ftp.horde.org/pub/chora/tarballs/ \
ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/chora/tarballs/
MAINTAINER= thierry@pompo.net
+#-----------------------------------------------------------------------
+# You may define these options:
+#
+# - WITHOUT_ENSCRIPT : if you do not need syntax highlighting;
+#
+# - A4 or DJ : if you run enscript with this paper size.
+#
+#-----------------------------------------------------------------------
+
RUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel
+.if !defined(WITHOUT_ENSCRIPT)
+.if defined(A4)
+RUN_DEPENDS= ${LOCALBASE}/bin/enscript:${PORTSDIR}/print/enscript-a4
+.elif defined(DJ)
+RUN_DEPENDS= ${LOCALBASE}/bin/enscript:${PORTSDIR}/print/enscript-letterdj
+.else
+RUN_DEPENDS= ${LOCALBASE}/bin/enscript:${PORTSDIR}/print/enscript-letter
+.endif
+.endif
NO_BUILD= yes
@@ -58,6 +77,10 @@ do-install:
${HORDE_INC}/httpd.conf.chora
@${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \
${HORDEDIR}/config/registry.php
+.if !defined(WITHOUT_ENSCRIPT)
+ @${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \
+ ${HORDEDIR}/config/mime_drivers.php
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
OpenPOWER on IntegriCloud