# New ports collection makefile for: kdebase2 # Date created: Fri Apr 14 2000 15:05:00 EDT # Whom: will # # $FreeBSD$ # PORTNAME= kdebase PORTVERSION= 2.2.1 PORTREVISION= 1 CATEGORIES?= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER?= kde@FreeBSD.org LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext USE_KDELIBS_VER=2 SOMAJOR= 4 SOMINOR= 0 USE_XPM= yes USE_BZIP2= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= RUN_KAPPFINDER=no CONFIGURE_ARGS+=--with-xdmdir=${X11BASE}/lib/X11/xdm \ --with-qt-dir=${X11BASE} \ --without-ldap \ --disable-closure USE_GMAKE= yes .include .if exists(${X11BASE}/include/Xm/Xm.h) WITH_MOTIF= yes .endif .if defined(WITH_MOTIF) && ${WITH_MOTIF} == yes USE_MOTIF= yes PLIST_SUB+= MOTIF="" .else PLIST_SUB+= MOTIF="@comment " pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "If you want to compile with Motif support," @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\"" @${ECHO_MSG} @${ECHO_MSG} "Motif is used for Netscape plugin compatibility." @${ECHO_MSG} .endif post-extract: @${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv @${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv pre-configure: ${PERL} -pi -e "s@version-info 3:0@version-info ${SOMAJOR}:${SOMINOR}@g" ${WRKSRC}/libkonq/Makefile.in ${PERL} -pi -e "s@version-info 1:0:0@version-info ${SOMAJOR}:${SOMINOR}@g" ${WRKSRC}/khelpcenter/Makefile.in ${PERL} -pi -e "s@version-info 1:1:0@version-info ${SOMAJOR}:${SOMINOR}@g" ${WRKSRC}/nsplugins/Makefile.in ${PERL} -pi -e "s@TIME_WITH_SYS_TIME@INVALID_FOO@g" ${WRKSRC}/kioslave/ldap/kldap.h post-configure: ${PERL} -pi -e "s@444@644@g" ${WRKSRC}/kdesktop/init/Templates/Makefile post-install: ${CHMOD} u+s ${PREFIX}/bin/kcheckpass .include perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr Cleanup plist 2014-10-27T15:23:30+00:00 bapt bapt@FreeBSD.org 2014-10-27T15:23:30+00:00 51d5c40d99aaae72b510e6d2cd910d825540fcef

support STAGEDIR. 2013-11-04T14:20:04+00:00 vanilla vanilla@FreeBSD.org 2013-11-04T14:20:04+00:00 05945ce5e98b0980b2f5aedc318e6c29e408d20a