Lines 18-32
Link Here
|
18 |
BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap |
18 |
BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap |
19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
19 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
20 |
|
20 |
|
21 |
OPTIONS= RT36 "Install for rt-3.6.x (default rt-3.8.x)" off |
|
|
22 |
|
23 |
PERL_CONFIGURE= yes |
21 |
PERL_CONFIGURE= yes |
24 |
|
22 |
|
25 |
MAN3= RT::Authen::ExternalAuth.3 RT::User_Vendor.3 |
23 |
OPTIONS= RT36 "Install for rt-3.6.x (default rt-3.8.x)" off |
26 |
|
|
|
27 |
PLIST_SUB+= RTHOME=${RTHOME} |
28 |
|
24 |
|
29 |
.include <bsd.port.pre.mk> |
25 |
.include <bsd.port.options.mk> |
30 |
|
26 |
|
31 |
.if defined(WITH_RT36) |
27 |
.if defined(WITH_RT36) |
32 |
|
28 |
|
Lines 47-58
Link Here
|
47 |
|
43 |
|
48 |
.endif |
44 |
.endif |
49 |
|
45 |
|
50 |
# Don't use normal CONFIGURE_ARGS. Disable doc_?????_indstall targets to |
46 |
MAN3= RT::Authen::ExternalAuth.3 RT::User_Vendor.3 |
51 |
# suppress installing perllocal.pod. This duplicates code from bsd.perl.mk |
47 |
PLIST_SUB+= RTHOME=${RTHOME} |
52 |
# rather undesirably. |
48 |
|
|
|
49 |
# Note: You can install using an arbitrary $PREFIX but only if it |
50 |
# matches the $PREFIX used to install www/rt3{6,8}. Hence ignore |
51 |
# $PREFIX in the environment and inherit settings from RT.pm |
53 |
do-configure: |
52 |
do-configure: |
54 |
@cd ${CONFIGURE_WRKSRC} && \ |
53 |
@cd ${CONFIGURE_WRKSRC} && \ |
55 |
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ |
54 |
${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ |
56 |
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile |
55 |
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile |
57 |
|
56 |
|
58 |
.include <bsd.port.post.mk> |
57 |
.include <bsd.port.mk> |