Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 11295 → Rev 11294

/trunk/Scribus/OSX-package/inputs/Info.plist
3,9 → 3,9
<plist version="1.0">
<dict>
<key>CFBundleGetInfoString</key>
<string>Scribus Installer 1.3.5</string>
<string>Scribus 1.3.5</string>
<key>CFBundleIdentifier</key>
<string>net.scribus.osxinstaller</string>
<string>net.scribus.aqua</string>
<key>CFBundleName</key>
<string>Scribus</string>
<key>CFBundleShortVersionString</key>
/trunk/Scribus/OSX-package/Makefile
1,22 → 1,14
# currently a handpicked list of libraries Scribus depends on
DEPLIBRARIES=zlib.pkg expat.pkg fontconfig.pkg jpeg.pkg tiff.pkg lcms.pkg freetype.pkg libpng.pkg render.pkg xrender.pkg cairo.pkg
# these wil be optional packages later
DEPLIBRARIES=jpeg.pkg tiff.mpkg lcms.pkg freetype.pkg cairo.mpkg
ADDITIONAL=ghostscript.mpkg antiword.pkg aspell.pkg
# this MUST be the installed path of the Scribus.app bundle
SCRIBUSAPP=/usr/local/Applications/Scribus135.app
# How to name the package
 
PKGNAME=Scribus-135
 
# no need to change those:
DISTDIR=dist
INPUTDIR=inputs
INFOFILE=${INPUTDIR}/Info.plist
SCRIBUSINFOFILE=${INPUTDIR}/Scribus.pkg-Info.plist
SCRIBUSPKG=${INPUTDIR}/ScribusPkg
DESCFILE=${INPUTDIR}/Description.plist
RESOURCES=${INPUTDIR}/Resources
 
all: clean ${DEPLIBRARIES} Scribus.pkg
all: clean ${DEPLIBRARIES}
@echo Packaging ${PKGNAME} from ${DEPLIBRARIES}
@/Developer/Tools/packagemaker -build -p ${DISTDIR}/${PKGNAME}.mpkg -mi ${DISTDIR}/packages -i ${INFOFILE} -r ${RESOURCES}
 
28,18 → 20,10
@cp -Rpn /opt/local/var/macports/build/*$**/work/*.pkg ${DISTDIR}/packages/
 
%.mpkg: tmpdirs
#port -f -k upgrade $*
port -f -k upgrade $*
port -f -k -v mpkg $*
@cp -Rpn /opt/local/var/macports/build/*$**/work/*.mpkg ${DISTDIR}/packages/
 
Scribus.pkg: tmpdirs
@mkdir -p ${SCRIBUSPKG}/Applications
@(cd ${SCRIBUSPKG}/Applications; mv ${SCRIBUSAPP} .)
/Developer/Tools/packagemaker -build -p ${DISTDIR}/packages/Scribus.pkg -f ${SCRIBUSPKG} -i ${SCRIBUSINFOFILE}
@(cd ${SCRIBUSPKG}/Applications ; mv Scribus*.app ${SCRIBUSAPP})
 
 
 
clean:
rm -rf ${DISTDIR}/packages/*