diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-01 13:07:13 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-01 13:07:13 +0000 |
commit | 4edc9f9bd52c1b1037f78f1135540d0728dc06a6 (patch) | |
tree | 785c861628da9941f82d356b59906384492f7a3e /devel/p4db | |
parent | 7f2e67e7d312d635c16f95debd4471d5a7b27be4 (diff) | |
download | FreeBSD-ports-4edc9f9bd52c1b1037f78f1135540d0728dc06a6.zip FreeBSD-ports-4edc9f9bd52c1b1037f78f1135540d0728dc06a6.tar.gz |
use SUB_FILES for pkg-message
Diffstat (limited to 'devel/p4db')
-rw-r--r-- | devel/p4db/Makefile | 5 | ||||
-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 927f771..9a8b5d8 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 dec91a1..7c869d1 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) ************************************************************************ |