aboutsummaryrefslogtreecommitdiff
path: root/devel/p4db
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 13:07:13 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 13:07:13 +0000
commit3f89b718dff79e520566e026c91ae3b5928bf0ae (patch)
tree9d418e6040ae3aff813006e4b7399cc9fe7e0177 /devel/p4db
parentd2d0202a4592c9343ca25da5a7c489a785738ffb (diff)
downloadports-3f89b718dff79e520566e026c91ae3b5928bf0ae.tar.gz
ports-3f89b718dff79e520566e026c91ae3b5928bf0ae.zip
use SUB_FILES for pkg-message
Notes
Notes: svn path=/head/; revision=158550
Diffstat (limited to 'devel/p4db')
-rw-r--r--devel/p4db/Makefile5
-rw-r--r--devel/p4db/files/pkg-message.in (renamed from devel/p4db/pkg-message)9
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/p4db/Makefile b/devel/p4db/Makefile
index 927f771f2796..9a8b5d8c9b0d 100644
--- a/devel/p4db/Makefile
+++ b/devel/p4db/Makefile
@@ -17,13 +17,14 @@ COMMENT= Web/Perforce Browser
RUN_DEPENDS= p4:${.CURDIR}/../perforce
USE_PERL5= yes
-
NO_BUILD= yes
NO_WRKSUBDIR= yes
PATCH_WRKSRC= ${WRKSRC}/${PORTNAME}
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
FQDN!= hostname
-P4DB_HOME= ${LOCALBASE}/perforce/${PORTNAME}
+P4DB_HOME= ${PREFIX}/perforce/${PORTNAME}
# These variables are all configurable.
PERFORCE_USER?= p4admin
diff --git a/devel/p4db/pkg-message b/devel/p4db/files/pkg-message.in
index dec91a1f5ca6..7c869d1ffe31 100644
--- a/devel/p4db/pkg-message
+++ b/devel/p4db/files/pkg-message.in
@@ -1,10 +1,10 @@
************************************************************************
-To launch your p4db site, edit /usr/local/perforce/p4db/P4DB.conf and
-configure the web server to make /usr/local/perforce/p4db/www
+To launch your p4db site, edit %%LOCALBASE%%/perforce/p4db/P4DB.conf and
+configure the web server to make %%LOCALBASE%%/perforce/p4db/www
viewable. For example:
- Alias /p4db/ "/usr/local/perforce/p4db/www/"
- <Directory "/usr/local/perforce/p4db/www">
+ Alias /p4db/ "%%LOCALBASE%%/perforce/p4db/www/"
+ <Directory "%%LOCALBASE%%/perforce/p4db/www">
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
Options ExecCGI
@@ -13,5 +13,4 @@ viewable. For example:
Allow from all
</Directory>
-(Replace /usr/local with your ${PREFIX} as appropriate)
************************************************************************