aboutsummaryrefslogtreecommitdiff
path: root/www/chtml
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-07-22 01:48:44 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-07-22 01:48:44 +0000
commitfaf8a5e596751de0e91c924bf5e490242c9ccb04 (patch)
treeae34482763091a88921cf950b99d9c0ff0b217ec /www/chtml
parent3e49f2d3c7db01c7688689d50ce9321d2febfc8f (diff)
downloadports-faf8a5e596751de0e91c924bf5e490242c9ccb04.tar.gz
ports-faf8a5e596751de0e91c924bf5e490242c9ccb04.zip
Notes
Diffstat (limited to 'www/chtml')
-rw-r--r--www/chtml/Makefile6
-rw-r--r--www/chtml/files/patch-makefile13
-rw-r--r--www/chtml/pkg-plist2
3 files changed, 15 insertions, 6 deletions
diff --git a/www/chtml/Makefile b/www/chtml/Makefile
index e798dc10d169..4fd770daf6a6 100644
--- a/www/chtml/Makefile
+++ b/www/chtml/Makefile
@@ -17,9 +17,9 @@ COMMENT= Chunked HTML templating engine
BUILD_DEPENDS= ${LOCALBASE}/bin/csiod:${PORTSDIR}/lang/siod
-BROKEN= "Incomplete pkg-plist (installs files into nonstandard perl directory)"
-
-WRKSRC= ${WRKDIR}
+USE_PERL5_RUN= yes
+MAKE_ENV= SITE_PERL=${SITE_PERL}
+NO_WRKSUBDIR= yes
MAKEFILE= makefile
.include <bsd.port.mk>
diff --git a/www/chtml/files/patch-makefile b/www/chtml/files/patch-makefile
index 43559aa1ffa8..1e669eb498f9 100644
--- a/www/chtml/files/patch-makefile
+++ b/www/chtml/files/patch-makefile
@@ -1,5 +1,14 @@
---- makefile.orig Mon Jun 22 22:43:44 1998
-+++ makefile Tue Nov 5 13:07:32 2002
+--- makefile.orig Mon Jun 22 20:43:44 1998
++++ makefile Fri Jul 22 09:42:30 2005
+@@ -9,7 +9,7 @@
+ INSTALL_BINDIR=/usr/local/bin
+ INSTALL_INCDIR=/usr/local/include
+ INSTALL_SIODDIR=/usr/local/lib/siod
+-INSTALL_PERLDIR=/usr/local/lib/perl5/site_perl
++INSTALL_PERLDIR=$(SITE_PERL)
+ INSTALL_DEMODIR=$$HOME/public_html/chtml
+
+ #CFLAGS=-g -Wall
@@ -17,7 +17,7 @@
.SUFFIXES: .html .html-bin .smd .cgi .pl .cgi .scm .cgi
diff --git a/www/chtml/pkg-plist b/www/chtml/pkg-plist
index 99ee11b506df..722049bb4a12 100644
--- a/www/chtml/pkg-plist
+++ b/www/chtml/pkg-plist
@@ -4,4 +4,4 @@ bin/chtml
include/chtml.h
lib/siod/chtml.scm
lib/siod/chtml-cmp.c-bin
-lib/perl5/site_perl/chtml.pl
+%%SITE_PERL%%/chtml.pl