diff options
author | Dennis Herrmann <dhn@FreeBSD.org> | 2009-06-22 15:51:50 +0000 |
---|---|---|
committer | Dennis Herrmann <dhn@FreeBSD.org> | 2009-06-22 15:51:50 +0000 |
commit | 0774e0738297da9d30059c9ec3f77e6f35c16945 (patch) | |
tree | e18b93574620307ef54c8534b8620ea1ea114638 /www/p5-RT-Extension-SLA | |
parent | e7f8d3779af8c322391bdb803d42edbed1cb42e1 (diff) | |
download | ports-0774e0738297da9d30059c9ec3f77e6f35c16945.tar.gz ports-0774e0738297da9d30059c9ec3f77e6f35c16945.zip |
Notes
Diffstat (limited to 'www/p5-RT-Extension-SLA')
-rw-r--r-- | www/p5-RT-Extension-SLA/Makefile | 8 | ||||
-rw-r--r-- | www/p5-RT-Extension-SLA/files/pkg-message.in | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile index a9b2772f360b..3561fa65ef17 100644 --- a/www/p5-RT-Extension-SLA/Makefile +++ b/www/p5-RT-Extension-SLA/Makefile @@ -35,11 +35,15 @@ MAN3= RT::Action::SLA.3 \ PLIST_SUB+= RTHOME=${RTHOME} +SUB_LIST+= RTHOME=${RTHOME} +SUB_FILES+= pkg-message + .include <bsd.port.pre.mk> .if defined(WITH_RT36) RTHOME?= rt3 +SUB_LIST+= INITIALDATA=local/etc/Extension-SLA/initialdata RT_PM_DIR= ${LOCALBASE}/${RTHOME}/lib BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt36 PLIST= ${PKGDIR}/pkg-plist.rt36 @@ -48,6 +52,7 @@ MAN3PREFIX= ${PREFIX}/${RTHOME}/local .else RTHOME?= share/rt38 +SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata RT_PM_DIR= ${SITE_PERL} BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38 PLIST= ${PKGDIR}/pkg-plist.rt38 @@ -63,4 +68,7 @@ do-configure: ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile +post-install: + ${CAT} ${PKGMESSAGE} + .include <bsd.port.post.mk> diff --git a/www/p5-RT-Extension-SLA/files/pkg-message.in b/www/p5-RT-Extension-SLA/files/pkg-message.in new file mode 100644 index 000000000000..ff1788c2dd90 --- /dev/null +++ b/www/p5-RT-Extension-SLA/files/pkg-message.in @@ -0,0 +1,9 @@ + + If this is a first-time installation of RT::Extension::SLA, you will need + to run the following in order to initialise various settings in the RT + database: + + rt-setup-database --action insert --datafile \ + %%PREFIX%%/%%RTHOME%%/%%INITIALDATA%% + + This only ever needs to be run once. |