From 4578953843a89ab1dfde7e5c5699225d9e7f9838 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 24 Apr 2013 23:39:37 +0000 Subject: [PATCH] For consistency, allow the name of the Mac and Cygwin packages to be overridden as well. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@953 632fc199-4ca6-4c93-a231-07263d6284db --- release/makecygwinpkg.in | 2 +- release/makemacpkg.in | 2 +- release/uninstall.in | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release/makecygwinpkg.in b/release/makecygwinpkg.in index 2e0386e..b35ba73 100755 --- a/release/makecygwinpkg.in +++ b/release/makecygwinpkg.in @@ -15,7 +15,7 @@ onexit() fi } -PACKAGE_NAME=@PACKAGE_NAME@ +PACKAGE_NAME=@PKGNAME@ VERSION=@VERSION@ SRCDIR=@abs_top_srcdir@ diff --git a/release/makemacpkg.in b/release/makemacpkg.in index 397231a..65abdef 100644 --- a/release/makemacpkg.in +++ b/release/makemacpkg.in @@ -21,7 +21,7 @@ usage() exit 1 } -PACKAGE_NAME=@PACKAGE_NAME@ +PACKAGE_NAME=@PKGNAME@ VERSION=@VERSION@ BUILD=@BUILD@ SRCDIR=@abs_top_srcdir@ diff --git a/release/uninstall.in b/release/uninstall.in index 3ba4eea..f167bbd 100644 --- a/release/uninstall.in +++ b/release/uninstall.in @@ -1,4 +1,4 @@ -# Copyright (C)2009-2011 D. R. Commander. All Rights Reserved. +# Copyright (C)2009-2011, 2013 D. R. Commander. All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -31,7 +31,7 @@ if [ ! "`id -u`" = "0" ]; then exit -1 fi -PACKAGE=@PACKAGE_NAME@ +PACKAGE=@PKGNAME@ MACPACKAGE=com.$PACKAGE.$PACKAGE RECEIPT=/Library/Receipts/$PACKAGE.pkg -- 2.40.0