diff options
Diffstat (limited to 'Mk')
| -rw-r--r-- | Mk/bsd.drupal.mk | 75 | ||||
| -rw-r--r-- | Mk/bsd.kde4.mk | 151 |
2 files changed, 0 insertions, 226 deletions
diff --git a/Mk/bsd.drupal.mk b/Mk/bsd.drupal.mk deleted file mode 100644 index 37fb9249394f..000000000000 --- a/Mk/bsd.drupal.mk +++ /dev/null @@ -1,75 +0,0 @@ -# $FreeBSD$ -# - -DRUPAL_BASE?= www/drupal -DRUPAL_DIR= ${PREFIX}/${DRUPAL_BASE} -DRUPAL_DOCSDIR?= ${PREFIX}/${DRUPAL_BASE}/doc -PLIST_SUB+= DRUPAL_BASE=${DRUPAL_BASE} -SUB_LIST+= DRUPAL_BASE=${DRUPAL_BASE} DRUPAL_DIR=${DRUPAL_DIR} - -.if defined(DRUPAL_PORT) -DOCSDIR?= ${DRUPAL_DOCSDIR} -.endif - -.if defined(DRUPAL_MODULE) -DRUPAL_VERSION?= 4.6.0 -DRUPAL_MODDIR?= ${DRUPAL_BASE}/modules -DOCSDIR?= ${DRUPAL_DOCSDIR}/${PORTNAME} - -# We have to mirror the distfiles because they are automaticly -# regenerated snapshots that change size even when nothing changes in the -# files themselves so they will generally be MASTER_SITE_LOCAL -MASTER_SITES?= ${MASTER_SITE_LOCAL} -PKGNAMEPREFIX= drupal- -DIST_SUBDIR= drupal - -RUN_DEPENDS= ${LOCALBASE}/${DRUPAL_BASE}/index.php:${PORTSDIR}/www/drupal - -NO_BUILD?= yes - -WRKSRC?= ${WRKDIR}/${PORTNAME} - -.if defined(MODULE_CONF_FILES) -SUB_FILES= pkg-install -SUB_LIST+= CONF_FILES=${MODULE_CONF_FILES:C|^|${DRUPAL_MODDIR}/|} \ - CONF_DIRS=${MODULE_CONF_DIRS:C|^|${DRUPAL_MODDIR}/|} -# XXX: where? -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -.endif - -PLIST_SUB+= DRUPAL_MODDIR=${DRUPAL_MODDIR} -PLIST_FILES+= ${MODULE_FILES:C|^|%%DRUPAL_MODDIR%%/|} -PLIST_FILES+= ${MODULE_CONF_FILES:C|^|%%DRUPAL_MODDIR%%/|:C|$|-dist|} -PLIST_DIRS+= ${MODULE_DIRS:C|^|%%DRUPAL_MODDIR%%/|} -.if !defined(NOPORTDOCS) -PLIST_FILES+= ${DOC_FILES:C|^|%%DOCSDIR%%/|} -PLIST_DIRS+= ${DOC_DIRS:C|^|%%DOCSDIR%%/|} -PLIST_DIRS+= %%DOCSDIR%% -.endif - -do-install: -.if defined(MODULE_CONF_DIRS) - @${MKDIR} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} -.endif -.if defined(MODULE_DIRS) - @${MKDIR} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPAL_MODDIR}/|} -.endif -.for f in ${MODULE_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f} -.endfor -.for f in ${MODULE_CONF_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPAL_MODDIR}/${f}-dist -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${DOC_DIRS:C|^|${DOCSDIR}/|} -.for f in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f} -.endfor -.endif - -.if defined(MODULE_CONF_FILES) -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif -.endif diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk deleted file mode 100644 index d4bcdede52ca..000000000000 --- a/Mk/bsd.kde4.mk +++ /dev/null @@ -1,151 +0,0 @@ -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -# Please make sure all changes to this file are past through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -KDE_MAINTAINER= kde@FreeBSD.org - -# This section contains the USE_ definitions. -# XXX: Write HAVE_ definitions sometime. - -# USE_QT_VER - Says that the port uses the Qt toolkit. Possible values: -# 3; each specify the major version of Qt to use. -# USE_KDELIBS_VER - Says that the port uses KDE libraries. Possible values: -# 3 specifies the major version of KDE to use. -# This implies USE_QT of the appropriate version. -# USE_KDEBASE_VER - Says that the port uses the KDE base. Possible values: -# 3 specifies the major version of KDE to use. -# This implies USE_KDELIBS of the appropriate version. - -# tagged MASTER_SITE_KDE_kde -kmaster= ${MASTER_SITE_KDE:S@%/@%/:kde@g} -.if !defined(MASTER_SITE_SUBDIR) -MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@@g} -.else -ksub=${MASTER_SITE_SUBDIR} -MASTER_SITE_KDE_kde= ${kmaster:S@%SUBDIR%/@${ksub}/@g} -.endif # !defined(MASTER_SITE_SUBDIR) - -# USE_KDEBASE_VER section -.if defined(USE_KDEBASE_VER) -.if ${USE_KDEBASE_VER} == CVS -LIB_DEPENDS+= kfontinst:${PORTSDIR}/x11/kdebase -USE_KDELIBS_VER=CVS -.elif ${USE_KDEBASE_VER} == 3 -# kdebase 3.x common stuff -LIB_DEPENDS+= kfontinst:${PORTSDIR}/x11/kdebase3 -USE_KDELIBS_VER=3 -.endif # ${USE_KDEBASE_VER} == 3 -.endif # defined(USE_KDEBASE_VER) - -# USE_KDELIBS_VER section -.if defined(USE_KDELIBS_VER) - -## This is needed for configure scripts to figure out -## which threads lib to use - -CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" - -## XXX - This really belongs into bsd.port.mk -.if !defined(_NO_KDE_CONFTARGET_HACK) -CONFIGURE_TARGET= -CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ - --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \ - --disable-as-needed -.endif - -.if ${USE_KDELIBS_VER} == CVS -LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs -USE_QT_VER= CVS -PREFIX= ${KDE_CVS_PREFIX} -.elif ${USE_KDELIBS_VER} == 3 -# kdelibs 3.x common stuff -LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs3 -USE_QT_VER= 3 -PREFIX= ${KDE_PREFIX} -.else -IGNORE= cannot install: unsupported value in USE_KDELIBS_VER -.endif # ${USE_KDELIBS_VER} == 3 -.endif # defined(USE_KDELIBS_VER) - -# End of USE_KDELIBS_VER section - -# USE_QT_VER section -.if ${USE_QT_VER} == CVS - -KDE_CVS_PREFIX?= ${LOCALBASE}/kde-cvs -QT_CVS_PREFIX?= ${X11BASE}/qt-cvs -QTCPPFLAGS?= -QTCFGLIBS?= - -MOC?= ${QT_CVS_PREFIX}/bin/moc -BUILD_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy -RUN_DEPENDS+= ${MOC}:${PORTSDIR}/x11-toolkits/qt-copy -QTCPPFLAGS+= -D_GETOPT_H # added to work around broken getopt.h #inc -.if !defined (QT_NONSTANDARD) -CONFIGURE_ARGS+=--with-extra-libs="${LOCALBASE}/lib" \ - --with-extra-includes="${LOCALBASE}/include" -CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \ - QTDIR="${QT_CVS_PREFIX}" KDEDIR="${KDE_CVS_PREFIX}" -.endif - -.elif ${USE_QT_VER} == 3 - -# Yeah, it's namespace pollution, but this is really the best place for this -# stuff. Arts does NOT use it anymore. -KDE_VERSION= 3.5.4 -KDE_ORIGVER= ${KDE_VERSION} -KDE_PREFIX?= ${LOCALBASE} - -QTCPPFLAGS?= -QTCGFLIBS?= - -# Qt 3.x common stuff -QT_PREFIX?= ${X11BASE} -MOC?= ${QT_PREFIX}/bin/moc -#LIB_DEPENDS+= qt-mt.3:${PORTSDIR}/x11-toolkits/qt33 -BUILD_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt33 -RUN_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt33 -QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \ - -I${QT_PREFIX}/include -D_GETOPT_H -QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \ - -L${QT_PREFIX}/lib -.if defined(PACKAGE_BUILDING) -TMPDIR?= /tmp -MAKE_ENV+= TMPDIR="${TMPDIR}" -CONFIGURE_ENV+= TMPDIR="${TMPDIR}" -.endif - -.if !defined(QT_NONSTANDARD) -CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \ - --with-qt-libraries=${QT_PREFIX}/lib \ - --with-extra-libs=${LOCALBASE}/lib \ - --with-extra-includes=${LOCALBASE}/include -CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" -.endif # !defined(QT_NONSTANDARD) -.else -IGNORE= cannot install: unsupported value of USE_QT_VER -.endif # defined(USE_QT_VER) - -# End of USE_QT_VER section - -# Assemble plist from parts -# <alane@freebsd.org> 2002-12-06 -.if defined(KDE_BUILD_PLIST) -PLIST?= ${WRKDIR}/plist -PLIST_BASE?= plist.base -PLIST_APPEND?= -plist_base=${FILESDIR}/${PLIST_BASE} -plist_base_rm=${FILESDIR}/${PLIST_BASE}.rm -plist_append=${PLIST_APPEND:C:([A-Za-z0-9._]+):${FILESDIR}/\1:} -plist_append_rm=${PLIST_APPEND:C:([A-Za-z0-9._]+):${FILESDIR}/\1.rm:} -kde-plist: - ${CAT} ${plist_base} ${plist_append} 2>/dev/null >${PLIST} - -${CAT} ${plist_append_rm} ${plist_base_rm} 2>/dev/null >>${PLIST};true -.PHONY: kde-plist -pre-build: kde-plist -.endif # defined(KDE_BUILD_PLIST) |
