Changeset 893307c7


Ignore:
Timestamp:
12/06/13 09:50:29 (20 months ago)
Author:
Kris Moore <kris@…>
Branches:
9.2-release
Children:
3d32d18
Parents:
55af84f
Message:

Fix up creating the legacy pcbsd-utils9 / pcbsd-utils9-qt4 ports

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mkports.sh

    rc60c604 r893307c7  
    4646 
    4747# Make the dist files 
    48 rm ${distdir}/pcbsd-utils*.tar.bz2 2>/dev/null 
    49 echo "Creating pcbsd-utils dist file for version: $cliREV" 
    50 tar cvjf ${distdir}/pcbsd-utils-${cliREV}.tar.bz2 src-sh 2>/dev/null 
    51 echo "Creating pcbsd-utils-qt4 dist file for version: $guiREV" 
    52 tar cvjf ${distdir}/pcbsd-utils-qt4-${guiREV}.tar.bz2 src-qt4 2>/dev/null 
     48rm ${distdir}/pcbsd-utils9*.tar.bz2 2>/dev/null 
     49echo "Creating pcbsd-utils9 dist file for version: $cliREV" 
     50tar cvjf ${distdir}/pcbsd-utils9-${cliREV}.tar.bz2 src-sh 2>/dev/null 
     51echo "Creating pcbsd-utils9-qt4 dist file for version: $guiREV" 
     52tar cvjf ${distdir}/pcbsd-utils9-qt4-${guiREV}.tar.bz2 src-qt4 2>/dev/null 
    5353 
    5454# Copy ports files 
    55 rm -rf ${portsdir}/sysutils/pcbsd-utils 2>/dev/null 
    56 rm -rf ${portsdir}/sysutils/pcbsd-utils-qt4 2>/dev/null 
    57 cp -r src-sh/port-files ${portsdir}/sysutils/pcbsd-utils 
    58 cp -r src-qt4/port-files ${portsdir}/sysutils/pcbsd-utils-qt4 
     55rm -rf ${portsdir}/sysutils/pcbsd-utils9 2>/dev/null 
     56rm -rf ${portsdir}/sysutils/pcbsd-utils9-qt4 2>/dev/null 
     57cp -r src-sh/port-files ${portsdir}/sysutils/pcbsd-utils9 
     58cp -r src-qt4/port-files ${portsdir}/sysutils/pcbsd-utils9-qt4 
    5959 
    6060# Set the version numbers 
    61 sed -i '' "s|CHGVERSION|${cliREV}|g" ${portsdir}/sysutils/pcbsd-utils/Makefile 
    62 sed -i '' "s|CHGVERSION|${guiREV}|g" ${portsdir}/sysutils/pcbsd-utils-qt4/Makefile 
     61sed -i '' "s|CHGVERSION|${cliREV}|g" ${portsdir}/sysutils/pcbsd-utils9/Makefile 
     62sed -i '' "s|CHGVERSION|${guiREV}|g" ${portsdir}/sysutils/pcbsd-utils9-qt4/Makefile 
     63sed -i '' "s|pcbsd-utils|pcbsd-utils9|g" ${portsdir}/sysutils/pcbsd-utils9/Makefile 
     64sed -i '' "s|pcbsd-utils|pcbsd-utils9|g" ${portsdir}/sysutils/pcbsd-utils9-qt4/Makefile 
    6365 
    6466# Set the mirror to use 
    65 sed -i '' "s|http://www.pcbsd.org/~kris/software/|${DURL}|g" ${portsdir}/sysutils/pcbsd-utils/Makefile 
    66 sed -i '' "s|http://www.pcbsd.org/~kris/software/|${DURL}|g" ${portsdir}/sysutils/pcbsd-utils-qt4/Makefile 
     67sed -i '' "s|http://www.pcbsd.org/~kris/software/|${DURL}|g" ${portsdir}/sysutils/pcbsd-utils9/Makefile 
     68sed -i '' "s|http://www.pcbsd.org/~kris/software/|${DURL}|g" ${portsdir}/sysutils/pcbsd-utils9-qt4/Makefile 
    6769 
    6870# Create the makesums / distinfo file 
    6971cd ${distdir} 
    70 sha256 pcbsd-utils-${cliREV}.tar.bz2 > ${portsdir}/sysutils/pcbsd-utils/distinfo 
    71 echo "SIZE (pcbsd-utils-${cliREV}.tar.bz2) = `stat -f \"%z\" pcbsd-utils-${cliREV}.tar.bz2`" >> ${portsdir}/sysutils/pcbsd-utils/distinfo 
    72 sha256 pcbsd-utils-qt4-${guiREV}.tar.bz2 > ${portsdir}/sysutils/pcbsd-utils-qt4/distinfo 
    73 echo "SIZE (pcbsd-utils-qt4-${guiREV}.tar.bz2) = `stat -f \"%z\" pcbsd-utils-qt4-${guiREV}.tar.bz2`" >> ${portsdir}/sysutils/pcbsd-utils-qt4/distinfo 
     72sha256 pcbsd-utils9-${cliREV}.tar.bz2 > ${portsdir}/sysutils/pcbsd-utils9/distinfo 
     73echo "SIZE (pcbsd-utils9-${cliREV}.tar.bz2) = `stat -f \"%z\" pcbsd-utils9-${cliREV}.tar.bz2`" >> ${portsdir}/sysutils/pcbsd-utils9/distinfo 
     74sha256 pcbsd-utils9-qt4-${guiREV}.tar.bz2 > ${portsdir}/sysutils/pcbsd-utils9-qt4/distinfo 
     75echo "SIZE (pcbsd-utils9-qt4-${guiREV}.tar.bz2) = `stat -f \"%z\" pcbsd-utils9-qt4-${guiREV}.tar.bz2`" >> ${portsdir}/sysutils/pcbsd-utils9-qt4/distinfo 
  • src-qt4/port-files/Makefile

    r0535dca0 r893307c7  
    11# Created by: Kris Moore <kmoore@FreeBSD.org> 
    2 # $FreeBSD$ 
     2# $FreeBSD: head/sysutils/pcbsd-utils-qt4/Makefile 335780 2013-12-06 17:43:18Z kmoore $ 
    33 
    44PORTNAME=       pcbsd-utils-qt4 
     
    99 
    1010MAINTAINER=     kmoore@FreeBSD.org 
    11 COMMENT=        PC-BSD QT4 Utilities 
     11COMMENT=        PC-BSD Qt4 Utilities 
    1212 
    1313RUN_DEPENDS=    pc-metapkgmanager:${PORTSDIR}/sysutils/pcbsd-utils 
    14 LIB_DEPENDS=    QtSolutions_SingleApplication-head.1:${PORTSDIR}/devel/qt4-qtsolutions-singleapplication \ 
     14LIB_DEPENDS=    libQtSolutions_SingleApplication-head.so:${PORTSDIR}/devel/qt4-qtsolutions-singleapplication \ 
    1515                curl:${PORTSDIR}/ftp/curl 
    1616 
     
    1919USE_BZIP2=      yes 
    2020USE_LDCONFIG=   yes 
    21 USE_QT4=        accessible \ 
    22                 clucene codecs-cn codecs-jp codecs-kr codecs-tw corelib \ 
    23                 dbus declarative \ 
    24                 graphicssystems-opengl gui help help-tools \ 
    25                 iconengines imageformats inputmethods \ 
    26                 linguist l10n makeqpf moc multimedia network opengl \ 
    27                 pixeltool porting phonon phonon-gst \ 
    28                 qdbusviewer qmlviewer qmake qtconfig qtestlib \ 
    29                 qvfb rcc script scripttools \ 
    30                 svg uic uic3 \ 
    31                 xml xmlpatterns xmlpatterns-tool 
     21USE_QT4=        corelib gui network svg linguist \ 
     22                moc_build rcc_build uic_build 
     23USES=           qmake 
    3224 
    3325WRKSRC=         ${WRKDIR}/src-qt4 
    34 HAS_CONFIGURE=  yes 
    3526 
    36 QMAKE_PRO=      src-qt4.pro 
    37 QMAKE_ARGS=     -recursive ${QMAKE_PRO} 
     27QMAKE_ARGS=     CONFIG+="configure" 
    3828 
    3929.include <bsd.port.pre.mk> 
    4030 
    4131.if ${OSVERSION} < 900030 
    42 IGNORE=         requires FreeBSD 9.0 or later 
     32IGNORE=         requires FreeBSD 9.x 
    4333.endif 
    4434 
    45 do-configure: 
    46         @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ 
    47                 ${QMAKE} PREFIX=${PREFIX} -unix CONFIG+="configure" ${QMAKE_PRO} 
    48  
    49 do-install: 
    50         cd ${WRKSRC} && make install INSTALL_ROOT=${STAGEDIR} 
     35.if ${OSVERSION} > 1000000 
     36IGNORE=         requires FreeBSD 9.x 
     37.endif 
    5138 
    5239.include <bsd.port.post.mk> 
  • src-sh/port-files/Makefile

    r39079340 r893307c7  
    3030 
    3131.if ${OSVERSION} < 900030 
    32 IGNORE=         requires FreeBSD 9.0 or later 
     32IGNORE=         requires FreeBSD 9.x 
    3333.endif 
    3434 
    3535.if ${OSVERSION} > 1000000 
    36 PLIST_FILES+=   share/pbi-manager/.pbime \ 
    37                 share/pbi-manager/.pbimount \ 
    38                 share/pbi-manager/.ldconfig \ 
    39                 share/pbi-manager/.mount_nullfs \ 
    40                 etc/man.d/pbi.conf \ 
    41                 sbin/app \ 
    42                 sbin/pbi 
     36IGNORE=         requires FreeBSD 9.x 
    4337.endif 
    4438 
Note: See TracChangeset for help on using the changeset viewer.