Changeset View
Changeset View
Standalone View
Standalone View
head/www/p5-RT-Extension-LDAPImport/Makefile
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
PLIST_SUB+= RTHOME=share/rt${RT_VER} | PLIST_SUB+= RTHOME=share/rt${RT_VER} | ||||
# Note: You can install using an arbitrary $PREFIX but only if it | # Note: You can install using an arbitrary $PREFIX but only if it | ||||
# matches the $PREFIX used to install www/rt{40,42}. Hence ignore | # matches the $PREFIX used to install www/rt{40,42}. Hence ignore | ||||
# $PREFIX in the environment and inherit settings from RT.pm | # $PREFIX in the environment and inherit settings from RT.pm | ||||
do-configure: | do-configure: | ||||
@cd ${CONFIGURE_WRKSRC} && \ | @cd ${CONFIGURE_WRKSRC} && \ | ||||
unset PREFIX && \ | unset PREFIX && \ | ||||
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \ | ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \ | ||||
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile | ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile | ||||
post-configure: | post-configure: | ||||
${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile | ${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile | ||||
post-install: | post-install: | ||||
${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport/.packlist | ${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport/.packlist | ||||
${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport 2>/dev/null || : | ${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport 2>/dev/null || : | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |