aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-07-22 09:48:44 +0800
committerleeym <leeym@FreeBSD.org>2005-07-22 09:48:44 +0800
commitc637c249940c46f40e426883e94203842af97d4e (patch)
treec0546212a25ed44e01773969740c09f21b6db69d
parent09ed80d348a020b7ea5d89399036a1175ffe7bda (diff)
downloadfreebsd-ports-gnome-c637c249940c46f40e426883e94203842af97d4e.tar.gz
freebsd-ports-gnome-c637c249940c46f40e426883e94203842af97d4e.tar.zst
freebsd-ports-gnome-c637c249940c46f40e426883e94203842af97d4e.zip
- installs file into standard perl directory and unbreak this port
-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